| Index: Source/core/layout/LayoutThemeMac.mm
|
| diff --git a/Source/core/layout/LayoutThemeMac.mm b/Source/core/layout/LayoutThemeMac.mm
|
| index 618ee12ba613e0fe76ac4ac2705e656d0d24df26..c5e44983674d5648d1803f7565e36b9839b398fc 100644
|
| --- a/Source/core/layout/LayoutThemeMac.mm
|
| +++ b/Source/core/layout/LayoutThemeMac.mm
|
| @@ -458,10 +458,18 @@ bool LayoutThemeMac::isControlStyled(const ComputedStyle& style) const
|
| // like the control is styled.
|
| if (style.appearance() == MenulistPart && style.effectiveZoom() != 1.0f)
|
| return true;
|
| - // FIXME: NSSearchFieldCell doesn't work well when scaled.
|
| - if (style.appearance() == SearchFieldPart && style.effectiveZoom() != 1)
|
| - return true;
|
| -
|
| + // Some other cells don't work well when scaled.
|
| + if (style.effectiveZoom() != 1) {
|
| + switch (style.appearance()) {
|
| + case ButtonPart:
|
| + case PushButtonPart:
|
| + case SearchFieldPart:
|
| + case SquareButtonPart:
|
| + return true;
|
| + default:
|
| + break;
|
| + }
|
| + }
|
| return LayoutTheme::isControlStyled(style);
|
| }
|
|
|
|
|