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

Unified Diff: chrome/browser/ui/views/ash/app_list/extension_app_item.cc

Issue 10699065: chromeos: Fix pixelated icons in app list and launcher (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 5 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/ash/app_list/extension_app_item.cc
diff --git a/chrome/browser/ui/views/ash/app_list/extension_app_item.cc b/chrome/browser/ui/views/ash/app_list/extension_app_item.cc
index 3a6f31c22e095b7a26765cf20687347e5bbf50ce..c5c2955939a960cd3c3049ba993e8cf5e6244524 100644
--- a/chrome/browser/ui/views/ash/app_list/extension_app_item.cc
+++ b/chrome/browser/ui/views/ash/app_list/extension_app_item.cc
@@ -189,7 +189,7 @@ void ExtensionAppItem::OnImageLoaded(const gfx::Image& image,
const std::string& extension_id,
int tracker_index) {
if (!image.IsEmpty())
- SetIcon(*image.ToSkBitmap());
+ SetIcon(*image.ToImageSkia());
else
SetIcon(Extension::GetDefaultIcon(true /* is_app */));
}
« no previous file with comments | « ash/test/test_launcher_delegate.cc ('k') | chrome/browser/ui/views/ash/launcher/chrome_launcher_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698