summaryrefslogtreecommitdiffstats
path: root/ash/shell/app_list.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/shell/app_list.cc')
-rw-r--r--ash/shell/app_list.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc
index bf2e8b4..6d636d9 100644
--- a/ash/shell/app_list.cc
+++ b/ash/shell/app_list.cc
@@ -203,8 +203,7 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate {
const string16 icon_text = ASCIIToUTF16("ash");
const gfx::Size icon_size(32, 32);
- gfx::Canvas canvas(icon_size, ui::SCALE_FACTOR_100P,
- false /* is_opaque */);
+ gfx::Canvas canvas(icon_size, false /* is_opaque */);
canvas.DrawStringInt(icon_text,
gfx::Font(),
SK_ColorBLACK,
@@ -213,7 +212,7 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate {
gfx::Canvas::TEXT_VALIGN_MIDDLE |
gfx::Canvas::NO_SUBPIXEL_RENDERING);
- return gfx::ImageSkia(canvas.ExtractImageRep());
+ return gfx::ImageSkia(canvas.ExtractImageSkiaRep());
}
void DecorateSearchBox(app_list::SearchBoxModel* search_box_model) {