summaryrefslogtreecommitdiffstats
path: root/ui/aura_shell
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura_shell')
-rw-r--r--ui/aura_shell/launcher/app_launcher_button.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/aura_shell/launcher/app_launcher_button.cc b/ui/aura_shell/launcher/app_launcher_button.cc
index 6f88b37..b2ee40e 100644
--- a/ui/aura_shell/launcher/app_launcher_button.cc
+++ b/ui/aura_shell/launcher/app_launcher_button.cc
@@ -47,7 +47,7 @@ void AppLauncherButton::SetAppImage(const SkBitmap& image) {
SetImage(BS_NORMAL, &image);
return;
}
- gfx::CanvasSkia canvas(width, height, false);
+ gfx::CanvasSkia canvas(gfx::Size(width, height), false);
canvas.DrawBitmapInt(image, 0, 0, image.width(), image.height(),
0, 0, width, height, false);
SkBitmap resized_image(canvas.ExtractBitmap());