cleaned up cursor style handling
git-svn-id: svn://10.0.0.236/trunk@14845 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -459,8 +459,11 @@ TextFrame::GetCursorAndContentAt(nsIPresContext& aPresContext,
|
||||
nsIContent** aContent,
|
||||
PRInt32& aCursor)
|
||||
{
|
||||
*aContent = mContent;
|
||||
aCursor = NS_STYLE_CURSOR_TEXT;
|
||||
if (NS_STYLE_CURSOR_AUTO == aCursor) {
|
||||
*aContent = mContent;
|
||||
*aFrame = this;
|
||||
aCursor = NS_STYLE_CURSOR_TEXT;
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user