mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 02:31:41 +00:00
Bug 541618 - fix solaris bustage
This commit is contained in:
parent
1ad04a6449
commit
86123c4733
@ -1653,7 +1653,7 @@ PRInt32 nsHyperTextAccessible::GetCaretLineNumber()
|
||||
|
||||
PRInt32 lineNumber = 1;
|
||||
nsAutoLineIterator lineIterForCaret;
|
||||
nsIContent *hyperTextContent = IsContent() ? mContent : nsnull;
|
||||
nsIContent *hyperTextContent = IsContent() ? mContent.get() : nsnull;
|
||||
while (caretFrame) {
|
||||
if (hyperTextContent == caretFrame->GetContent()) {
|
||||
return lineNumber; // Must be in a single line hyper text, there is no line iterator
|
||||
|
Loading…
x
Reference in New Issue
Block a user