Index: chrome/browser/extensions/extension_special_storage_policy.cc |
diff --git a/chrome/browser/extensions/extension_special_storage_policy.cc b/chrome/browser/extensions/extension_special_storage_policy.cc |
index de58fb9c77a14c0c17891fa38236d3b5e3e6a59a..2d3f342cd7ed1f01532ef8a293b9dd993b9c14ab 100644 |
--- a/chrome/browser/extensions/extension_special_storage_policy.cc |
+++ b/chrome/browser/extensions/extension_special_storage_policy.cc |
@@ -44,11 +44,11 @@ bool ExtensionSpecialStoragePolicy::HasSessionOnlyOrigins() { |
if (host_content_settings_map_->GetDefaultContentSetting( |
CONTENT_SETTINGS_TYPE_COOKIES) == CONTENT_SETTING_SESSION_ONLY) |
return true; |
- HostContentSettingsMap::SettingsForOneType entries; |
+ ContentSettingsForOneType entries; |
host_content_settings_map_->GetSettingsForOneType( |
CONTENT_SETTINGS_TYPE_COOKIES, "", &entries); |
for (size_t i = 0; i < entries.size(); ++i) { |
- if (entries[i].c == CONTENT_SETTING_SESSION_ONLY) |
+ if (entries[i].setting == CONTENT_SETTING_SESSION_ONLY) |
return true; |
} |
return false; |