Bug 541618 - fix solaris bustage
authorAlexander Surkov <surkov.alexander@gmail.com>
Fri, 11 Jun 2010 18:54:18 +0900
changeset 43505 431eab8cf6ab75207b201583b6e9552939f54d1d
parent 43504 117fe7a234ccc906a47189687c8da54d3bd9a071
child 43506 1acc7e31ee7c346028656c91398e865e7e6b01b0
push id13741
push usersurkov.alexander@gmail.com
push dateFri, 11 Jun 2010 09:57:31 +0000
treeherdermozilla-central@431eab8cf6ab [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs541618
milestone1.9.3a6pre
first release with
nightly linux32
431eab8cf6ab / 3.7a6pre / 20100611030018 / files
nightly linux64
431eab8cf6ab / 3.7a6pre / 20100611030706 / files
nightly mac
431eab8cf6ab / 3.7a6pre / 20100611030637 / files
nightly win32
431eab8cf6ab / 3.7a6pre / 20100611035754 / files
nightly win64
431eab8cf6ab / 3.7a6pre / 20100611044039 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 541618 - fix solaris bustage
accessible/src/html/nsHyperTextAccessible.cpp
--- a/accessible/src/html/nsHyperTextAccessible.cpp
+++ b/accessible/src/html/nsHyperTextAccessible.cpp
@@ -1648,17 +1648,17 @@ PRInt32 nsHyperTextAccessible::GetCaretL
   domSel->GetFocusOffset(&caretOffset);
   nsFrameSelection::HINT hint = frameSelection->GetHint();
   nsIFrame *caretFrame = frameSelection->GetFrameForNodeOffset(caretContent, caretOffset,
                                                                hint, &returnOffsetUnused);
   NS_ENSURE_TRUE(caretFrame, -1);
 
   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
     }
     nsIFrame *parentFrame = caretFrame->GetParent();
     if (!parentFrame)
       break;