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

Unified Diff: chrome/browser/android/webapps/add_to_homescreen_manager.cc

Issue 2589503002: Use exact pixel sizes instead of dip in webapp/WebAPK installability code (Closed)
Patch Set: Created 4 years 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/webapps/add_to_homescreen_manager.cc
diff --git a/chrome/browser/android/webapps/add_to_homescreen_manager.cc b/chrome/browser/android/webapps/add_to_homescreen_manager.cc
index 40af6b5d348307d46c2cc2d30bb45d86549d2239..c8c0c226e49a20910eb996e4131cd8cca1fb5b51 100644
--- a/chrome/browser/android/webapps/add_to_homescreen_manager.cc
+++ b/chrome/browser/android/webapps/add_to_homescreen_manager.cc
@@ -79,10 +79,10 @@ void AddToHomescreenManager::Start(content::WebContents* web_contents) {
}
data_fetcher_ = new AddToHomescreenDataFetcher(
- web_contents, ShortcutHelper::GetIdealHomescreenIconSizeInDp(),
- ShortcutHelper::GetMinimumHomescreenIconSizeInDp(),
- ShortcutHelper::GetIdealSplashImageSizeInDp(),
- ShortcutHelper::GetMinimumSplashImageSizeInDp(),
+ web_contents, ShortcutHelper::GetIdealHomescreenIconSizeInPx(),
+ ShortcutHelper::GetMinimumHomescreenIconSizeInPx(),
+ ShortcutHelper::GetIdealSplashImageSizeInPx(),
+ ShortcutHelper::GetMinimumSplashImageSizeInPx(),
check_webapk_compatible, this);
}

Powered by Google App Engine
This is Rietveld 408576698