summaryrefslogtreecommitdiffstats
path: root/ash/wm/frame_painter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/frame_painter.cc')
-rw-r--r--ash/wm/frame_painter.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ash/wm/frame_painter.cc b/ash/wm/frame_painter.cc
index 1ccd992..a4b4c70 100644
--- a/ash/wm/frame_painter.cc
+++ b/ash/wm/frame_painter.cc
@@ -694,11 +694,11 @@ void FramePainter::SetButtonImages(views::ImageButton* button,
int hot_image_id,
int pushed_image_id) {
ui::ThemeProvider* theme_provider = frame_->GetThemeProvider();
- button->SetImage(views::CustomButton::BS_NORMAL,
+ button->SetImage(views::CustomButton::STATE_NORMAL,
theme_provider->GetImageSkiaNamed(normal_image_id));
- button->SetImage(views::CustomButton::BS_HOT,
+ button->SetImage(views::CustomButton::STATE_HOVERED,
theme_provider->GetImageSkiaNamed(hot_image_id));
- button->SetImage(views::CustomButton::BS_PUSHED,
+ button->SetImage(views::CustomButton::STATE_PRESSED,
theme_provider->GetImageSkiaNamed(pushed_image_id));
}