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

Unified Diff: chrome/browser/android/banners/app_banner_manager_android.cc

Issue 2662103002: Refactor ManifestIconSelector and update it for Manifest.icon.purpose (Closed)
Patch Set: Addressing comments Created 3 years, 11 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 | chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/banners/app_banner_manager_android.cc
diff --git a/chrome/browser/android/banners/app_banner_manager_android.cc b/chrome/browser/android/banners/app_banner_manager_android.cc
index 8ae8d3c3811869b3aaf3cf342be763678a4dab16..e5f96225074296d8df1ec0f325b08f56ee755f47 100644
--- a/chrome/browser/android/banners/app_banner_manager_android.cc
+++ b/chrome/browser/android/banners/app_banner_manager_android.cc
@@ -77,7 +77,8 @@ base::Closure AppBannerManagerAndroid::FetchWebappSplashScreenImageCallback(
ShortcutHelper::GetMinimumSplashImageSizeInPx();
GURL image_url = ManifestIconSelector::FindBestMatchingIcon(
manifest_.icons, ideal_splash_image_size_in_px,
- minimum_splash_image_size_in_px);
+ minimum_splash_image_size_in_px,
+ content::Manifest::Icon::IconPurpose::ANY);
return base::Bind(&ShortcutHelper::FetchSplashScreenImage, contents,
image_url, ideal_splash_image_size_in_px,
« no previous file with comments | « no previous file | chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698