| Index: chrome/browser/ui/browser.cc
|
| ===================================================================
|
| --- chrome/browser/ui/browser.cc (revision 119305)
|
| +++ chrome/browser/ui/browser.cc (working copy)
|
| @@ -2705,7 +2705,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(
|
| @@ -4051,7 +4051,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 =
|
|
|