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

Unified Diff: chrome/browser/ui/views/ash/app_list/search_builder.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, move Resize/CreateDropShadow into ImageSkiaSource Created 8 years, 6 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/search_builder.cc
diff --git a/chrome/browser/ui/views/ash/app_list/search_builder.cc b/chrome/browser/ui/views/ash/app_list/search_builder.cc
index 5d456a7dbaec3e98a4a1f504a0c4b217d739ffda..3baf9f1bc4bd66efc44f7a31e4ed2026885adca5 100644
--- a/chrome/browser/ui/views/ash/app_list/search_builder.cc
+++ b/chrome/browser/ui/views/ash/app_list/search_builder.cc
@@ -124,14 +124,11 @@ class SearchBuilderResult : public app_list::SearchResult,
void LoadExtensionIcon(const extensions::Extension* extension) {
tracker_.reset(new ImageLoadingTracker(this));
- // TODO(xiyuan): Fix this for HD.
- tracker_->LoadImage(extension,
- extension->GetIconResource(
- ExtensionIconSet::EXTENSION_ICON_SMALL,
- ExtensionIconSet::MATCH_BIGGER),
- gfx::Size(ExtensionIconSet::EXTENSION_ICON_SMALL,
- ExtensionIconSet::EXTENSION_ICON_SMALL),
- ImageLoadingTracker::DONT_CACHE);
+ tracker_->LoadDIPImage(extension,
+ ExtensionIconSet::EXTENSION_ICON_SMALL,
+ gfx::Size(ExtensionIconSet::EXTENSION_ICON_SMALL,
+ ExtensionIconSet::EXTENSION_ICON_SMALL),
+ ImageLoadingTracker::DONT_CACHE);
}
void UpdateTitleAndDetails() {

Powered by Google App Engine
This is Rietveld 408576698