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

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

Issue 1608733002: Remove ui/gfx/screen_type_delegate.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-4
Patch Set: and another rebase Created 4 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
Index: chrome/browser/android/banners/app_banner_data_fetcher_android.cc
diff --git a/chrome/browser/android/banners/app_banner_data_fetcher_android.cc b/chrome/browser/android/banners/app_banner_data_fetcher_android.cc
index e367f542212065c8ef1d501ea78b124744e2d118..c3d0874f878f1503fb7444c6ce3c0b6b5e7b5f7b 100644
--- a/chrome/browser/android/banners/app_banner_data_fetcher_android.cc
+++ b/chrome/browser/android/banners/app_banner_data_fetcher_android.cc
@@ -63,10 +63,8 @@ void AppBannerDataFetcherAndroid::FetchWebappSplashScreenImage(
DCHECK(web_contents);
GURL image_url = ManifestIconSelector::FindBestMatchingIcon(
- web_app_data().icons,
- ideal_splash_image_size_in_dp_,
- minimum_splash_image_size_in_dp_,
- gfx::Screen::GetScreenFor(web_contents->GetNativeView()));
+ web_app_data().icons, ideal_splash_image_size_in_dp_,
+ minimum_splash_image_size_in_dp_);
ShortcutHelper::FetchSplashScreenImage(
web_contents,
« no previous file with comments | « blimp/engine/browser/blimp_engine_session.cc ('k') | 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