Index: views/controls/menu/menu_separator_win.cc |
=================================================================== |
--- views/controls/menu/menu_separator_win.cc (revision 82144) |
+++ views/controls/menu/menu_separator_win.cc (working copy) |
@@ -28,16 +28,18 @@ |
config.gutter_to_label - config.gutter_width, 0, |
config.gutter_width, height()); |
gfx::NativeTheme::ExtraParams extra; |
- theme->Paint(canvas->AsCanvasSkia(), gfx::NativeTheme::kMenuPopupGutter, |
- gfx::NativeTheme::kNormal, gutter_bounds, extra); |
+ theme->Paint(canvas->AsCanvasSkia()->skia_canvas(), |
+ gfx::NativeTheme::kMenuPopupGutter, gfx::NativeTheme::kNormal, |
+ gutter_bounds, extra); |
start_x = gutter_bounds.x() + config.gutter_width; |
} |
gfx::Rect separator_bounds(start_x, 0, width(), height()); |
gfx::NativeTheme::ExtraParams extra; |
extra.menu_separator.has_gutter = config.render_gutter; |
- theme->Paint(canvas->AsCanvasSkia(), gfx::NativeTheme::kMenuPopupSeparator, |
- gfx::NativeTheme::kNormal, separator_bounds, extra); |
+ theme->Paint(canvas->AsCanvasSkia()->skia_canvas(), |
+ gfx::NativeTheme::kMenuPopupSeparator, gfx::NativeTheme::kNormal, |
+ separator_bounds, extra); |
} |
gfx::Size MenuSeparator::GetPreferredSize() { |