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

Unified Diff: chrome/common/extensions/extension.cc

Issue 10915251: Fix for pixelated icons in extension install ui on 2x scale. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: .. Created 8 years, 3 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/common/extensions/extension.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.cc
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index d99dd013e5283244d471899696d3daf95401a8a5..ec5990a1b633cd3dd8c0e7570a7c7df93926533f 100644
--- a/chrome/common/extensions/extension.cc
+++ b/chrome/common/extensions/extension.cc
@@ -3061,9 +3061,9 @@ void Extension::DecodeIconFromPath(const FilePath& icon_path,
}
// static
-const SkBitmap& Extension::GetDefaultIcon(bool is_app) {
+const gfx::ImageSkia& Extension::GetDefaultIcon(bool is_app) {
int id = is_app ? IDR_APP_DEFAULT_ICON : IDR_EXTENSION_DEFAULT_ICON;
- return *ResourceBundle::GetSharedInstance().GetBitmapNamed(id);
+ return *ResourceBundle::GetSharedInstance().GetImageSkiaNamed(id);
}
// static
« no previous file with comments | « chrome/common/extensions/extension.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698