summaryrefslogtreecommitdiffstats
path: root/ash/shell
diff options
context:
space:
mode:
Diffstat (limited to 'ash/shell')
-rw-r--r--ash/shell/app_list.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc
index 268a472..daaa486 100644
--- a/ash/shell/app_list.cc
+++ b/ash/shell/app_list.cc
@@ -60,7 +60,7 @@ class WindowTypeLauncherItem : public app_list::AppListItemModel {
icon.setConfig(SkBitmap::kARGB_8888_Config, kIconSize, kIconSize);
icon.allocPixels();
icon.eraseColor(kColors[static_cast<int>(type) % arraysize(kColors)]);
- return gfx::ImageSkia(icon);
+ return gfx::ImageSkia::CreateFrom1xBitmap(icon);
}
// The text below is not localized as this is an example code.