| 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 c3b1ecce3e2797676d90f6c6e79f4a61bbacfd76..215df445964beb8547df90bbead6677dc5cd0151 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm
|
| @@ -888,30 +888,6 @@ void LayoutThemeMac::adjustSearchFieldCancelButtonStyle(ComputedStyle& style) co
|
| style.setBoxShadow(nullptr);
|
| }
|
|
|
| -const IntSize* LayoutThemeMac::resultsButtonSizes() const
|
| -{
|
| - static const IntSize sizes[3] = { IntSize(15, 14), IntSize(16, 13), IntSize(14, 11) };
|
| - return sizes;
|
| -}
|
| -
|
| -void LayoutThemeMac::adjustSearchFieldDecorationStyle(ComputedStyle& style) const
|
| -{
|
| - NSControlSize controlSize = controlSizeForSystemFont(style);
|
| - IntSize searchFieldSize = searchFieldSizes()[controlSize];
|
| - int width = searchFieldSize.height() / 2 - searchFieldBorderWidth - searchFieldHorizontalPaddings()[controlSize];
|
| - style.setWidth(Length(width, Fixed));
|
| - style.setHeight(Length(0, Fixed));
|
| - style.setBoxShadow(nullptr);
|
| -}
|
| -
|
| -void LayoutThemeMac::adjustSearchFieldResultsDecorationStyle(ComputedStyle& style) const
|
| -{
|
| - IntSize size = sizeForSystemFont(style, resultsButtonSizes());
|
| - style.setWidth(Length(size.width(), Fixed));
|
| - style.setHeight(Length(size.height(), Fixed));
|
| - style.setBoxShadow(nullptr);
|
| -}
|
| -
|
| IntSize LayoutThemeMac::sliderTickSize() const
|
| {
|
| return IntSize(1, 3);
|
|
|