Closed
Bug 871264
Opened 11 years ago
Closed 11 years ago
Remove the aPresContext and aFrame parameters from ThemeDrawsFocusForWidget
Categories
(Core :: Widget, defect)
Core
Widget
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: jwatt, Assigned: jwatt)
Details
Attachments
(1 file, 1 obsolete file)
9.66 KB,
patch
|
dholbert
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
As noted by roc in bug 862693 comment 11, we should remove the aPresContext and aFrame parameters from ThemeDrawsFocusForWidget.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #748531 -
Flags: review?(dholbert)
Assignee | ||
Comment 2•11 years ago
|
||
Heck, might as well add MOZ_OVERRIDE while I'm touching these lines.
Attachment #748531 -
Attachment is obsolete: true
Attachment #748531 -
Flags: review?(dholbert)
Attachment #748533 -
Flags: review?(dholbert)
Comment 3•11 years ago
|
||
Comment on attachment 748533 [details] [diff] [review]
patch
I don't normally review /gfx or /widget code, but given the trivial nature of this bug and given that roc already rubber-stamped the idea by suggesting it, I'm happy to do a sanity-check review. So, r=me
Technically, I think this needs sr, since it's a change to an interface.
I bet roc would grant speedy sr. I'll take the liberty of sr?'ing him, to keep the process moving.
Attachment #748533 -
Flags: superreview?(roc)
Attachment #748533 -
Flags: review?(dholbert)
Attachment #748533 -
Flags: review+
Attachment #748533 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Comment 4•11 years ago
|
||
Backed out, since it didn't compile:
https://hg.mozilla.org/integration/mozilla-inbound/rev/abc9d00d1025
../../../layout/forms/nsRangeFrame.cpp: In member function 'virtual void nsRangeFrame::BuildDisplayList(nsDisplayListBuilder*, const nsRect&, const nsDisplayListSet&)':
../../../layout/forms/nsRangeFrame.cpp:248:71: error: no matching function for call to 'nsITheme::ThemeDrawsFocusForWidget(nsPresContext*&, nsRangeFrame* const, const uint8_t&)'
../../dist/include/nsITheme.h:156:16: note: candidate is: virtual bool nsITheme::ThemeDrawsFocusForWidget(uint8_t)
make[6]: *** [nsRangeFrame.o] Error 1
Assignee | ||
Comment 6•11 years ago
|
||
Oops - I managed to conflict with a different patch I pushed a day earlier. Thanks for backing out. Re-pushed as:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7e5f9688566c
Comment 7•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in
before you can comment on or make changes to this bug.
Description
•