Index: ash/wm/frame_painter.cc |
diff --git a/ash/wm/frame_painter.cc b/ash/wm/frame_painter.cc |
index 7e84960f80a4204b9eff135334d1dc93b8a18c7c..f35db438f55d7892d726576757e7ba246fec79ab 100644 |
--- a/ash/wm/frame_painter.cc |
+++ b/ash/wm/frame_painter.cc |
@@ -569,11 +569,11 @@ void FramePainter::SetButtonImages(views::ImageButton* button, |
int pushed_bitmap_id) { |
ui::ThemeProvider* theme_provider = frame_->GetThemeProvider(); |
button->SetImage(views::CustomButton::BS_NORMAL, |
- theme_provider->GetBitmapNamed(normal_bitmap_id)); |
+ theme_provider->GetImageSkiaNamed(normal_bitmap_id)); |
button->SetImage(views::CustomButton::BS_HOT, |
- theme_provider->GetBitmapNamed(hot_bitmap_id)); |
+ theme_provider->GetImageSkiaNamed(hot_bitmap_id)); |
button->SetImage(views::CustomButton::BS_PUSHED, |
- theme_provider->GetBitmapNamed(pushed_bitmap_id)); |
+ theme_provider->GetImageSkiaNamed(pushed_bitmap_id)); |
} |
int FramePainter::GetTitleOffsetX() const { |