| Index: chrome/browser/profile_resetter/profile_resetter_unittest.cc
|
| diff --git a/chrome/browser/profile_resetter/profile_resetter_unittest.cc b/chrome/browser/profile_resetter/profile_resetter_unittest.cc
|
| index 1d7f32f373fbcabdfa9004e7f2eea1feb2f6a177..50420abd5ed2845f57217be4a182712ee4467e22 100644
|
| --- a/chrome/browser/profile_resetter/profile_resetter_unittest.cc
|
| +++ b/chrome/browser/profile_resetter/profile_resetter_unittest.cc
|
| @@ -515,13 +515,11 @@ TEST_F(ProfileResetterTest, ResetContentSettings) {
|
| ContentSetting site_setting = default_setting == CONTENT_SETTING_ALLOW
|
| ? CONTENT_SETTING_ALLOW
|
| : CONTENT_SETTING_BLOCK;
|
| - if (HostContentSettingsMap::IsSettingAllowedForType(
|
| - profile()->GetPrefs(), wildcard_setting, content_type)) {
|
| + if (info->IsSettingValid(wildcard_setting)) {
|
| host_content_settings_map->SetDefaultContentSetting(content_type,
|
| wildcard_setting);
|
| }
|
| - if (HostContentSettingsMap::IsSettingAllowedForType(
|
| - profile()->GetPrefs(), site_setting, content_type)) {
|
| + if (info->IsSettingValid(site_setting)) {
|
| host_content_settings_map->SetContentSetting(
|
| pattern, ContentSettingsPattern::Wildcard(), content_type,
|
| std::string(), site_setting);
|
|
|