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

Unified Diff: chrome/browser/banners/app_banner_data_fetcher.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: fixes 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/banners/app_banner_data_fetcher.cc
diff --git a/chrome/browser/banners/app_banner_data_fetcher.cc b/chrome/browser/banners/app_banner_data_fetcher.cc
index 321e8d3ef4bbbfe16aaa086a2c378a6ad6c7239e..8b9e374bba5545bef5be1a3ff50b58360dfba6dc 100644
--- a/chrome/browser/banners/app_banner_data_fetcher.cc
+++ b/chrome/browser/banners/app_banner_data_fetcher.cc
@@ -342,7 +342,7 @@ void AppBannerDataFetcher::OnHasServiceWorker(
web_app_data_.icons,
ideal_icon_size_in_dp_,
minimum_icon_size_in_dp_,
- gfx::Screen::GetScreenFor(web_contents->GetNativeView()));
+ gfx::Screen::GetScreen());
sky 2016/01/19 22:47:54 Can the Screen argument be removed from FindBestMa
scottmg 2016/01/20 00:52:57 Done.
if (!FetchAppIcon(web_contents, icon_url)) {
OutputDeveloperNotShownMessage(web_contents, kCannotDetermineBestIcon);

Powered by Google App Engine
This is Rietveld 408576698