Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2412)

Unified Diff: ash/launcher/launcher_button.cc

Issue 9705063: ui/gfx: Rename almost all entries from gfx::CanvasSkia to gfx::Canvas. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/app_list/drop_shadow_label.cc ('k') | build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_button.cc
diff --git a/ash/launcher/launcher_button.cc b/ash/launcher/launcher_button.cc
index ff8ea97df6b298daf07bf76cea6938e3781ac719..82c4319015e8b23af993d7bf77d8d084fcb6233a 100644
--- a/ash/launcher/launcher_button.cc
+++ b/ash/launcher/launcher_button.cc
@@ -101,7 +101,7 @@ void LauncherButton::SetImage(const SkBitmap& image) {
icon_view_->SetImage(&image);
return;
}
- gfx::CanvasSkia canvas(gfx::Size(width, height), false);
+ gfx::Canvas 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());
« no previous file with comments | « ash/app_list/drop_shadow_label.cc ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698