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

Unified Diff: chrome/renderer/web_apps.cc

Issue 809713006: Disable new bookmark apps flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix woopsies Created 5 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/renderer/web_apps.cc
diff --git a/chrome/renderer/web_apps.cc b/chrome/renderer/web_apps.cc
index 359cb8b29f22fd0a9f69c47852e863ff492f9756..7f383679ef1b450bb9744426dd7d1d375200554b 100644
--- a/chrome/renderer/web_apps.cc
+++ b/chrome/renderer/web_apps.cc
@@ -147,8 +147,8 @@ void ParseWebAppFromWebDocument(WebFrame* frame,
// "apple-touch-icon-precomposed".
if (LowerCaseEqualsASCII(rel, "icon") ||
LowerCaseEqualsASCII(rel, "shortcut icon") ||
- (!base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableNewBookmarkApps) &&
+ (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableNewBookmarkApps) &&
(LowerCaseEqualsASCII(rel, "apple-touch-icon") ||
LowerCaseEqualsASCII(rel, "apple-touch-icon-precomposed")))) {
AddInstallIcon(elem, &app_info->icons);

Powered by Google App Engine
This is Rietveld 408576698