Index: ash/shell/app_list.cc |
diff --git a/ash/shell/app_list.cc b/ash/shell/app_list.cc |
index 6d636d9ae279e7d02f83cbfbcf883bbd2f713ada..92d4d73af58f66a104c65c231c235ae20d09ddc1 100644 |
--- a/ash/shell/app_list.cc |
+++ b/ash/shell/app_list.cc |
@@ -203,7 +203,8 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate { |
const string16 icon_text = ASCIIToUTF16("ash"); |
const gfx::Size icon_size(32, 32); |
- gfx::Canvas canvas(icon_size, false /* is_opaque */); |
+ gfx::Canvas canvas( |
+ icon_size, ui::SCALE_FACTOR_100P, false /* is_opaque */); |
sky
2012/07/16 14:26:51
How come we don't want this at the current scale?
pkotwicz
2012/07/17 17:19:52
This is part of the ash shell demo code, so I don'
|
canvas.DrawStringInt(icon_text, |
gfx::Font(), |
SK_ColorBLACK, |
@@ -212,7 +213,7 @@ class ExampleAppListViewDelegate : public app_list::AppListViewDelegate { |
gfx::Canvas::TEXT_VALIGN_MIDDLE | |
gfx::Canvas::NO_SUBPIXEL_RENDERING); |
- return gfx::ImageSkia(canvas.ExtractImageSkiaRep()); |
+ return gfx::ImageSkia(canvas.ExtractImageRep()); |
} |
void DecorateSearchBox(app_list::SearchBoxModel* search_box_model) { |