mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 12:13:22 +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;
|
PRInt32 lineNumber = 1;
|
||||||
nsAutoLineIterator lineIterForCaret;
|
nsAutoLineIterator lineIterForCaret;
|
||||||
nsIContent *hyperTextContent = IsContent() ? mContent : nsnull;
|
nsIContent *hyperTextContent = IsContent() ? mContent.get() : nsnull;
|
||||||
while (caretFrame) {
|
while (caretFrame) {
|
||||||
if (hyperTextContent == caretFrame->GetContent()) {
|
if (hyperTextContent == caretFrame->GetContent()) {
|
||||||
return lineNumber; // Must be in a single line hyper text, there is no line iterator
|
return lineNumber; // Must be in a single line hyper text, there is no line iterator
|
||||||
|
Loading…
x
Reference in New Issue
Block a user