Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(631)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutThemeMac.mm

Issue 2560733002: SELECT element: Fix a bug that intrinsic width is too narrow in less-than-100% zoom level. (Closed)
Patch Set: PartScrollbarVerticalTrack -> PartScrollbarDownArrow to fix Android crash Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
index 6522ad8f39d5fa9a6af31c113780ee77299012ea..39fea2df2c493ffcda3b5bc874f69d13be4c9cb7 100644
--- a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
+++ b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
@@ -754,7 +754,8 @@ int LayoutThemeMac::popupInternalPaddingStart(
return 0;
}
-int LayoutThemeMac::popupInternalPaddingEnd(const ComputedStyle& style) const {
+int LayoutThemeMac::popupInternalPaddingEnd(const HostWindow*,
+ const ComputedStyle& style) const {
if (style.appearance() == MenulistPart)
return popupButtonPadding(
controlSizeForFont(style))[ThemeMac::RightMargin] *
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutThemeMac.h ('k') | third_party/WebKit/Source/core/paint/ThemePainterDefault.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698