Index: ash/shell/app_list.cc |
=================================================================== |
--- ash/shell/app_list.cc (revision 147935) |
+++ ash/shell/app_list.cc (working copy) |
@@ -203,8 +203,7 @@ |
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 @@ |
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) { |