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

Unified Diff: chrome/browser/extensions/extension_icon_manager.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 | « chrome/browser/chromeos/status/network_menu_icon.cc ('k') | chrome/browser/profiles/profile_info_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_icon_manager.cc
diff --git a/chrome/browser/extensions/extension_icon_manager.cc b/chrome/browser/extensions/extension_icon_manager.cc
index 8227e03afad6b05db3bf0752e62bf7c33363d098..37d17fea6c47ade65fd5c521fc656579792ebba7 100644
--- a/chrome/browser/extensions/extension_icon_manager.cc
+++ b/chrome/browser/extensions/extension_icon_manager.cc
@@ -25,10 +25,9 @@ namespace {
// around the original bitmap.
static SkBitmap ApplyPadding(const SkBitmap& source,
const gfx::Insets& padding) {
- scoped_ptr<gfx::CanvasSkia> result(
- new gfx::CanvasSkia(gfx::Size(source.width() + padding.width(),
- source.height() + padding.height()),
- false));
+ scoped_ptr<gfx::Canvas> result(
+ new gfx::Canvas(gfx::Size(source.width() + padding.width(),
+ source.height() + padding.height()), false));
result->DrawBitmapInt(
source,
0, 0, source.width(), source.height(),
« no previous file with comments | « chrome/browser/chromeos/status/network_menu_icon.cc ('k') | chrome/browser/profiles/profile_info_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698