[webkit-reviews] review denied: [Bug 62295] Fix a ?: precedence error in ScrollbarThemeMac and ScrollbarThemeChromium : [Attachment 96438] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 8 10:18:30 PDT 2011
Darin Adler <darin at apple.com> has denied review:
Bug 62295: Fix a ?: precedence error in ScrollbarThemeMac and
ScrollbarThemeChromium
https://bugs.webkit.org/show_bug.cgi?id=62295
Attachment 96438: Patch
https://bugs.webkit.org/attachment.cgi?id=96438&action=review
------- Additional Comments from Darin Adler <darin at apple.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=96438&action=review
Please post a new patch that gets the ScrollbarThemeMac.mm part right.
Anyone got information on what the symptom of this was? Clearly the old code
was incorrect. But we normally want regression testing too.
> Source/WebCore/platform/mac/ScrollbarThemeMac.mm:295
> - result = IntRect(scrollbar->x(), scrollbar->y(),
cOuterButtonLength[scrollbar->controlSize()] + painting ? cOuterButtonOverlap :
0, thickness);
> + result = IntRect(scrollbar->x(), scrollbar->y(),
cOuterButtonLength[scrollbar->controlSize()] + painting ? (cOuterButtonOverlap
: 0), thickness);
This looks wrong. The parentheses are added in the wrong place here!
More information about the webkit-reviews
mailing list