summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/menu_scroll_view_container.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/menu/menu_scroll_view_container.cc')
-rw-r--r--views/controls/menu/menu_scroll_view_container.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/controls/menu/menu_scroll_view_container.cc b/views/controls/menu/menu_scroll_view_container.cc
index 0797522..94bd75b 100644
--- a/views/controls/menu/menu_scroll_view_container.cc
+++ b/views/controls/menu/menu_scroll_view_container.cc
@@ -25,7 +25,7 @@
#endif
#if defined(OS_WIN)
-using gfx::NativeTheme;
+using gfx::NativeThemeWin;
#endif
// Height of the scroll arrow.
@@ -88,8 +88,8 @@ class MenuScrollButton : public View {
// The background.
RECT item_bounds = { 0, 0, width(), height() };
- NativeTheme::instance()->PaintMenuItemBackground(
- NativeTheme::MENU, dc, MENU_POPUPITEM, MPI_NORMAL, false,
+ NativeThemeWin::instance()->PaintMenuItemBackground(
+ NativeThemeWin::MENU, dc, MENU_POPUPITEM, MPI_NORMAL, false,
&item_bounds);
canvas->EndPlatformPaint();
@@ -189,8 +189,8 @@ void MenuScrollViewContainer::OnPaintBackground(gfx::Canvas* canvas) {
#if defined(OS_WIN)
HDC dc = canvas->BeginPlatformPaint();
RECT bounds = {0, 0, width(), height()};
- NativeTheme::instance()->PaintMenuBackground(
- NativeTheme::MENU, dc, MENU_POPUPBACKGROUND, 0, &bounds);
+ NativeThemeWin::instance()->PaintMenuBackground(
+ NativeThemeWin::MENU, dc, MENU_POPUPBACKGROUND, 0, &bounds);
canvas->EndPlatformPaint();
#elif defined(OS_CHROMEOS)
static const SkColor kGradientColors[2] = {