| Index: chrome/browser/ui/webui/options/content_settings_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| index fabd1dca1b2ce168f98d991ec6627b9235e40596..5170e670ef3a5fd8f17621097ee0642084d18cf0 100644
|
| --- a/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| @@ -284,8 +284,8 @@ void ContentSettingsHandler::GetLocalizedValues(
|
| CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableClickToPlay));
|
| localized_strings->SetBoolean("enable_web_intents",
|
| - CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableWebIntents));
|
| + !CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableWebIntents));
|
| }
|
|
|
| void ContentSettingsHandler::Initialize() {
|
| @@ -438,10 +438,10 @@ void ContentSettingsHandler::UpdateAllOTRExceptionsViewsFromModel() {
|
|
|
| void ContentSettingsHandler::UpdateExceptionsViewFromModel(
|
| ContentSettingsType type) {
|
| - // Skip updating intents unless it's enabled from the command line.
|
| + // Update intents unless it's disabled from the command line.
|
| if (type == CONTENT_SETTINGS_TYPE_INTENTS &&
|
| - !CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableWebIntents))
|
| + CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kDisableWebIntents))
|
| return;
|
|
|
| switch (type) {
|
|
|