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

Unified Diff: chrome/renderer/web_apps.cc

Issue 882343004: Enable the new bookmark apps system by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 0d26dfa160fa33e913eeb570e4c3bd580ef615a4..7f1500c109646051ac063e29d6f4967534d8cb8a 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::kEnableNewBookmarkApps) &&
+ (!base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableNewBookmarkApps) &&
(LowerCaseEqualsASCII(rel, "apple-touch-icon") ||
LowerCaseEqualsASCII(rel, "apple-touch-icon-precomposed")))) {
AddInstallIcon(elem, &app_info->icons);
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/test/data/extensions/api_test/management/test/launchType.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698