author | Alexander Surkov <surkov.alexander@gmail.com> |
Fri, 11 Jun 2010 18:54:18 +0900 | |
changeset 43505 | 431eab8cf6ab75207b201583b6e9552939f54d1d |
parent 43504 | 117fe7a234ccc906a47189687c8da54d3bd9a071 |
child 43506 | 1acc7e31ee7c346028656c91398e865e7e6b01b0 |
push id | 1 |
push user | root |
push date | Tue, 26 Apr 2011 22:38:44 +0000 |
treeherder | mozilla-beta@bfdb6e623a36 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 541618 |
milestone | 1.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
3.7a6pre
/
20100611030018
/
pushlog to previous
nightly linux64
3.7a6pre
/
20100611030706
/
pushlog to previous
nightly mac
3.7a6pre
/
20100611030637
/
pushlog to previous
nightly win32
3.7a6pre
/
20100611035754
/
pushlog to previous
nightly win64
3.7a6pre
/
20100611044039
/
pushlog to previous
|
--- 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;