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

Unified Diff: chrome/browser/android/shortcut_info.cc

Issue 2050933002: Upstream: Add additional checks before creating a WebAPK after clicking "Add to Homescreen" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/shortcut_info.cc
diff --git a/chrome/browser/android/shortcut_info.cc b/chrome/browser/android/shortcut_info.cc
index cadec49f4dbc9a148caa01c7d869fd0a708c1396..9d2dfae8417b1bff6dc65377d71177ff291ed981 100644
--- a/chrome/browser/android/shortcut_info.cc
+++ b/chrome/browser/android/shortcut_info.cc
@@ -11,7 +11,8 @@ ShortcutInfo::ShortcutInfo(const GURL& shortcut_url)
source(SOURCE_ADD_TO_HOMESCREEN),
theme_color(content::Manifest::kInvalidOrMissingColor),
background_color(content::Manifest::kInvalidOrMissingColor),
- is_icon_generated(false) {
+ is_icon_generated(false),
+ type(Type::OTHER) {
}
ShortcutInfo::ShortcutInfo(const ShortcutInfo& other) = default;

Powered by Google App Engine
This is Rietveld 408576698