| Index: third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp b/third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp
|
| index 18b4856241a24adea6b7cdd41fab5121f948679c..b31738f5a20ccf8c6914cdd10dd7329a943ec17a 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutThemeDefault.cpp
|
| @@ -234,8 +234,9 @@ void LayoutThemeDefault::adjustInnerSpinButtonStyle(ComputedStyle& style) const
|
| {
|
| IntSize size = Platform::current()->themeEngine()->getSize(WebThemeEngine::PartInnerSpinButton);
|
|
|
| - style.setWidth(Length(size.width(), Fixed));
|
| - style.setMinWidth(Length(size.width(), Fixed));
|
| + float zoomLevel = style.effectiveZoom();
|
| + style.setWidth(Length(size.width() * zoomLevel, Fixed));
|
| + style.setMinWidth(Length(size.width() * zoomLevel, Fixed));
|
| }
|
|
|
| bool LayoutThemeDefault::shouldOpenPickerWithF4Key() const
|
|
|