Index: chrome/browser/ui/browser.cc |
=================================================================== |
--- chrome/browser/ui/browser.cc (revision 124226) |
+++ chrome/browser/ui/browser.cc (working copy) |
@@ -2704,7 +2704,7 @@ |
const string16& href, |
const string16& title, |
const string16& disposition) { |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableWebIntents)) |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableWebIntents)) |
return; |
TabContentsWrapper* tcw = TabContentsWrapper::GetCurrentWrapperForContents( |
@@ -4044,7 +4044,7 @@ |
void Browser::WebIntentDispatch( |
WebContents* tab, content::WebIntentsDispatcher* intents_dispatcher) { |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableWebIntents)) |
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableWebIntents)) |
return; |
TabContentsWrapper* tcw = |