Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
index 865f1c2f31b1a9f44b8e7ca6ded14d07a7c9653c..1d96238eeb2d29daabd78a75768d494c8d864ccd 100644 |
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
@@ -280,7 +280,9 @@ class ContentSettingSingleRadioGroup |
ContentSetting mostRestrictiveSetting; |
if (resources.empty()) { |
mostRestrictiveSetting = |
- map->GetContentSetting(url, content_type(), std::string()); |
+ content_type() == CONTENT_SETTINGS_TYPE_COOKIES ? |
+ map->GetCookieContentSetting(url, url, true) : |
+ map->GetContentSetting(url, content_type(), std::string()); |
} else { |
mostRestrictiveSetting = CONTENT_SETTING_ALLOW; |
for (std::set<std::string>::const_iterator it = resources.begin(); |