[Webkit-unassigned] [Bug 64897] Minimum Row Height For PopupListBoxes should platform-dependent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 20 15:57:07 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=64897


James Robinson <jamesr at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #101521|review?, commit-queue?      |review-
               Flag|                            |




--- Comment #4 from James Robinson <jamesr at chromium.org>  2011-07-20 15:57:06 PST ---
(From update of attachment 101521)
View in context: https://bugs.webkit.org/attachment.cgi?id=101521&action=review

> Source/WebCore/platform/chromium/PlatformBridge.h:401
> +    static int getPopupListBoxMinimumRowHeight();

we don't prefix getters with "get" in WebKit

> Source/WebCore/platform/chromium/PopupMenuChromium.cpp:1179
> +    int minimumHeight = RenderTheme::defaultTheme()->popupListBoxMinimumRowHeight();
> +

why don't you just ask PlatformBridge for the minimum row height here?

> Source/WebCore/rendering/RenderTheme.h:170
> +    virtual int popupListBoxMinimumRowHeight() const { return 0; }

this doesn't seem necessary

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list