| Index: ui/native_theme/native_theme_win.cc
|
| diff --git a/ui/native_theme/native_theme_win.cc b/ui/native_theme/native_theme_win.cc
|
| index 8539fe663c5596101958d19bfaa0a28bd1c075ad..94f907500efea54bd77193d6e786bda9c1b362e0 100644
|
| --- a/ui/native_theme/native_theme_win.cc
|
| +++ b/ui/native_theme/native_theme_win.cc
|
| @@ -193,10 +193,6 @@ NativeThemeWin* NativeThemeWin::instance() {
|
| gfx::Size NativeThemeWin::GetPartSize(Part part,
|
| State state,
|
| const ExtraParams& extra) const {
|
| - gfx::Size part_size = CommonThemeGetPartSize(part, state, extra);
|
| - if (!part_size.IsEmpty())
|
| - return part_size;
|
| -
|
| // The GetThemePartSize call below returns the default size without
|
| // accounting for user customization (crbug/218291).
|
| switch (part) {
|
| @@ -242,9 +238,6 @@ void NativeThemeWin::Paint(SkCanvas* canvas,
|
| return;
|
|
|
| switch (part) {
|
| - case kComboboxArrow:
|
| - CommonThemePaintComboboxArrow(canvas, rect);
|
| - return;
|
| case kMenuPopupGutter:
|
| PaintMenuGutter(canvas, rect);
|
| return;
|
| @@ -464,7 +457,6 @@ void NativeThemeWin::PaintDirect(SkCanvas* canvas,
|
| case kWindowResizeGripper:
|
| PaintWindowResizeGripper(hdc, rect);
|
| return;
|
| - case kComboboxArrow:
|
| case kSliderTrack:
|
| case kSliderThumb:
|
| case kMaxPart:
|
| @@ -1708,7 +1700,6 @@ NativeThemeWin::ThemeName NativeThemeWin::GetThemeName(Part part) {
|
| return TEXTFIELD;
|
| case kWindowResizeGripper:
|
| return STATUS;
|
| - case kComboboxArrow:
|
| case kMenuCheckBackground:
|
| case kMenuPopupBackground:
|
| case kMenuItemBackground:
|
| @@ -1754,7 +1745,6 @@ int NativeThemeWin::GetWindowsPart(Part part,
|
| return SBP_THUMBBTNVERT;
|
| case kWindowResizeGripper:
|
| return SP_GRIPPER;
|
| - case kComboboxArrow:
|
| case kInnerSpinButton:
|
| case kMenuList:
|
| case kMenuCheckBackground:
|
| @@ -1948,7 +1938,6 @@ int NativeThemeWin::GetWindowsState(Part part,
|
| NOTREACHED();
|
| return 0;
|
| }
|
| - case kComboboxArrow:
|
| case kInnerSpinButton:
|
| case kMenuList:
|
| case kMenuCheckBackground:
|
|
|