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

Unified Diff: chrome/browser/extensions/app_shortcut_manager.cc

Issue 10701087: chromeos: Fix pixelated icons in app list and launcher (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address oshima's comments from http://codereview.chromium.org/10699065/ 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/extensions/app_shortcut_manager.cc
diff --git a/chrome/browser/extensions/app_shortcut_manager.cc b/chrome/browser/extensions/app_shortcut_manager.cc
index 53aba19dcb9ab311789f31967f4b06da1105e0ab..83c9aa53d6defac5e1cf7d99bd9cc13f1ba4b1ac 100644
--- a/chrome/browser/extensions/app_shortcut_manager.cc
+++ b/chrome/browser/extensions/app_shortcut_manager.cc
@@ -97,7 +97,9 @@ void AppShortcutManager::InstallApplicationShortcuts(
size, ExtensionIconSet::MATCH_EXACTLY);
if (!resource.empty()) {
info_list.push_back(
- ImageLoadingTracker::ImageInfo(resource, gfx::Size(size, size)));
+ ImageLoadingTracker::ImageInfo(resource,
+ gfx::Size(size, size),
+ ui::SCALE_FACTOR_NONE));
}
}
@@ -115,7 +117,9 @@ void AppShortcutManager::InstallApplicationShortcuts(
size, ExtensionIconSet::MATCH_SMALLER);
}
info_list.push_back(
- ImageLoadingTracker::ImageInfo(resource, gfx::Size(size, size)));
+ ImageLoadingTracker::ImageInfo(resource,
+ gfx::Size(size, size),
+ ui::SCALE_FACTOR_NONE));
}
// |icon_resources| may still be empty at this point, in which case LoadImage
« no previous file with comments | « no previous file | chrome/browser/extensions/image_loading_tracker.h » ('j') | chrome/browser/extensions/image_loading_tracker.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698