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

Unified Diff: chrome/browser/ui/views/avatar_menu_bubble_view.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/browser/ui/views/avatar_menu_bubble_view.cc
diff --git a/chrome/browser/ui/views/avatar_menu_bubble_view.cc b/chrome/browser/ui/views/avatar_menu_bubble_view.cc
index e7a7c4ff55ff87b810d2a328aff979421e1431d3..febc552ee1725caf2542e19375b539c499eeed97 100644
--- a/chrome/browser/ui/views/avatar_menu_bubble_view.cc
+++ b/chrome/browser/ui/views/avatar_menu_bubble_view.cc
@@ -317,7 +317,7 @@ SkBitmap ProfileItemView::GetBadgedIcon(const SkBitmap& icon) {
const float kBadgeOverlapRatioY = 1.0f / 3.0f;
int height = icon_rect.height() + badge.height() * kBadgeOverlapRatioY;
- gfx::CanvasSkia canvas(gfx::Size(width, height), false);
+ gfx::Canvas canvas(gfx::Size(width, height), false);
canvas.DrawBitmapInt(icon, 0, 0, icon.width(), icon.height(), 0, 0,
icon_rect.width(), icon_rect.height(), true);
canvas.DrawBitmapInt(badge, width - badge.width(), height - badge.height());

Powered by Google App Engine
This is Rietveld 408576698