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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_icon.cc

Issue 2360873004: arc: Use high-resolution icon for Play Store default item for scale >= 1.5f. (Closed)
Patch Set: Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/arc/arc_app_icon.cc
diff --git a/chrome/browser/ui/app_list/arc/arc_app_icon.cc b/chrome/browser/ui/app_list/arc/arc_app_icon.cc
index 596660b0c227052f7d4170d42d49d20799f09ace..bf55b1d6a3f06b294e380461ac341c6259763ecd 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_icon.cc
+++ b/chrome/browser/ui/app_list/arc/arc_app_icon.cc
@@ -88,7 +88,7 @@ gfx::ImageSkiaRep ArcAppIcon::Source::GetImageForScale(float scale) {
int resource_id;
if (host_ && host_->app_id() == arc::kPlayStoreAppId) {
resource_id = scale >= 1.5f ?
- IDR_ARC_SUPPORT_ICON_48 : IDR_ARC_SUPPORT_ICON_96;
+ IDR_ARC_SUPPORT_ICON_96 : IDR_ARC_SUPPORT_ICON_48;
khmel 2016/09/23 01:44:45 could you please retest that it works as expected.
hshi1 2016/09/23 01:47:50 Yes I did just retest this (I'm using a paint tool
khmel 2016/09/23 01:48:54 Thanks, lgtm
} else {
resource_id = IDR_APP_DEFAULT_ICON;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698