Closed
Bug 916115
Opened 11 years ago
Closed 11 years ago
StickyScrollContainer.cpp:226:73: error: no match for ‘operator==’ in ‘aSubtreeRoot == do_QueryFrame(((nsQueryFrame*)((nsIScrollableFrame*)
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: philip.chee, Assigned: dholbert)
References
Details
Attachments
(1 file)
1.23 KB,
patch
|
coyotebush
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #886646 +++ http://tbpl-dev.callek.net/php/getParsedLog.php?id=20806242&tree=SeaMonkey#error0 ../../../../mozilla/layout/generic/StickyScrollContainer.cpp: In member function ‘void mozilla::StickyScrollContainer::UpdatePositions(nsPoint, nsIFrame*)’: ../../../../mozilla/layout/generic/StickyScrollContainer.cpp:226:73: error: no match for ‘operator==’ in ‘aSubtreeRoot == do_QueryFrame(((nsQueryFrame*)((nsIScrollableFrame*)((mozilla::StickyScrollContainer*)this)->mozilla::StickyScrollContainer::mScrollFrame)))’ ../../dist/include/nsTSubstring.h:870:6: note: candidates are: bool operator==(const nsAString_internal::base_string_type&, const nsAString_internal::base_string_type&) ../../dist/include/nsTSubstring.h:876:6: note: bool operator==(const nsAString_internal::base_string_type&, const nsAString_internal::char_type*) ../../dist/include/nsTSubstring.h:870:6: note: bool operator==(const nsACString_internal::base_string_type&, const nsACString_internal::base_string_type&) ../../dist/include/nsTSubstring.h:876:6: note: bool operator==(const nsACString_internal::base_string_type&, const nsACString_internal::char_type*) ../../../../mozilla/layout/generic/../base/nsChangeHint.h:131:13: note: void operator==(nsChangeHint, nsChangeHint) ../../dist/include/gfxFontFeatures.h:29:1: note: bool operator==(const gfxFontFeature&, const gfxFontFeature&) ../../dist/include/gfxFontFeatures.h:47:1: note: bool operator==(const gfxAlternateValue&, const gfxAlternateValue&) make[6]: *** [StickyScrollContainer.o] Error 1
Assignee | ||
Comment 1•11 years ago
|
||
I suspect checking for equality with do_QueryFrame(something) isn't kosher; at least, this is the only instance of "== do_QueryFrame" in our codebase. We probably need to stick the do_QueryFrame into an actual variable, and then do the equality-check w/ that variable.
Updated•11 years ago
|
Assignee: nobody → cford
Assignee | ||
Comment 2•11 years ago
|
||
Updated•11 years ago
|
Attachment #804546 -
Flags: review?(cford) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b2bb76571aa1
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b2bb76571aa1
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•