summaryrefslogtreecommitdiffstats
path: root/chrome/browser/host_content_settings_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/host_content_settings_map.cc')
-rw-r--r--chrome/browser/host_content_settings_map.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/host_content_settings_map.cc b/chrome/browser/host_content_settings_map.cc
index ce53c2d..2cf165e 100644
--- a/chrome/browser/host_content_settings_map.cc
+++ b/chrome/browser/host_content_settings_map.cc
@@ -583,8 +583,8 @@ void HostContentSettingsMap::GetSettingsFromDictionary(
}
}
}
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableCookiePrompt)) {
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableCookiePrompt)) {
// Migrate obsolete cookie prompt mode.
if (settings->settings[CONTENT_SETTINGS_TYPE_COOKIES] ==
CONTENT_SETTING_ASK)