| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index ecfcaa5f6d205f01593093ec8c953f85f13a1c65..49b4e1be38a5df6a30677af4256df2c343853f8e 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -2705,7 +2705,7 @@ void Browser::RegisterIntentHandlerHelper(WebContents* tab,
|
| const string16& href,
|
| const string16& title,
|
| const string16& disposition) {
|
| - if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableWebIntents))
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableWebIntents))
|
| return;
|
|
|
| TabContentsWrapper* tcw = TabContentsWrapper::GetCurrentWrapperForContents(
|
| @@ -4051,7 +4051,7 @@ void Browser::RegisterIntentHandler(WebContents* tab,
|
|
|
| void Browser::WebIntentDispatch(
|
| WebContents* tab, content::WebIntentsDispatcher* intents_dispatcher) {
|
| - if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableWebIntents))
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableWebIntents))
|
| return;
|
|
|
| TabContentsWrapper* tcw =
|
|
|