Index: chrome/browser/host_content_settings_map.cc |
diff --git a/chrome/browser/host_content_settings_map.cc b/chrome/browser/host_content_settings_map.cc |
index 590d5f0f0e2cbf6d5bf3bf1a42b2bc2bc0e094ae..611b645acb36efe96cf810dc86437357a37d676b 100644 |
--- a/chrome/browser/host_content_settings_map.cc |
+++ b/chrome/browser/host_content_settings_map.cc |
@@ -569,6 +569,9 @@ void HostContentSettingsMap::GetSettingsFromDictionary( |
} |
} |
} |
+ // Migrate obsolete cookie prompt mode. |
+ if (settings->settings[CONTENT_SETTINGS_TYPE_COOKIES] == CONTENT_SETTING_ASK) |
+ settings->settings[CONTENT_SETTINGS_TYPE_COOKIES] = CONTENT_SETTING_BLOCK; |
} |
void HostContentSettingsMap::ForceDefaultsToBeExplicit() { |