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

Unified Diff: chrome/common/badge_util.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
Index: chrome/common/badge_util.cc
diff --git a/chrome/common/badge_util.cc b/chrome/common/badge_util.cc
index f1d3ef489f3fdb3a9617cfed240c444551c4fa1b..0c7478e41b8efaca9d3b4ff2f29c6d062263a5f5 100644
--- a/chrome/common/badge_util.cc
+++ b/chrome/common/badge_util.cc
@@ -84,8 +84,8 @@ SkBitmap DrawBadgeIconOverlay(const SkBitmap& icon,
badge_width--;
// Render the badge bitmap and overlay into a canvas.
- scoped_ptr<gfx::CanvasSkia> canvas(
- new gfx::CanvasSkia(gfx::Size(badge_width, icon.height()), false));
+ scoped_ptr<gfx::Canvas> canvas(
+ new gfx::Canvas(gfx::Size(badge_width, icon.height()), false));
canvas->DrawBitmapInt(icon, 0, 0);
// Draw the text overlay centered horizontally and vertically. Skia expects
« no previous file with comments | « chrome/browser/ui/webui/ntp/ntp_login_handler.cc ('k') | content/browser/renderer_host/render_widget_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698