summaryrefslogtreecommitdiffstats
path: root/ash/wm/workspace/frame_maximize_button.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/workspace/frame_maximize_button.cc')
-rw-r--r--ash/wm/workspace/frame_maximize_button.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/wm/workspace/frame_maximize_button.cc b/ash/wm/workspace/frame_maximize_button.cc
index ec986ed..0d83ec3 100644
--- a/ash/wm/workspace/frame_maximize_button.cc
+++ b/ash/wm/workspace/frame_maximize_button.cc
@@ -4,10 +4,10 @@
#include "ash/wm/workspace/frame_maximize_button.h"
-#include "ash/launcher/launcher.h"
#include "ash/screen_ash.h"
#include "ash/shell.h"
#include "ash/wm/property_util.h"
+#include "ash/launcher/launcher.h"
#include "ash/wm/workspace/phantom_window_controller.h"
#include "ash/wm/workspace/snap_sizer.h"
#include "grit/ash_strings.h"
@@ -217,7 +217,7 @@ gfx::ImageSkia FrameMaximizeButton::GetImageToPaint() {
NOTREACHED();
}
}
- return *ResourceBundle::GetSharedInstance().GetImageNamed(id).ToImageSkia();
+ return *ResourceBundle::GetSharedInstance().GetImageNamed(id).ToSkBitmap();
}
// Hot and pressed states handled by regular ImageButton.
return ImageButton::GetImageToPaint();