| Index: chrome/browser/ui/webui/options/content_settings_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| index 3f17e4b2b13b8e8181f4dfd575d70115193049a8..f17f5d0f62bf9c4de4a8aa182c338b81a61df16e 100644
|
| --- a/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
|
| @@ -1340,7 +1340,7 @@ void ContentSettingsHandler::RemoveExceptionFromHostContentSettingsMap(
|
| mode == "normal" ? GetContentSettingsMap() :
|
| GetOTRContentSettingsMap();
|
| if (settings_map) {
|
| - settings_map->SetContentSetting(
|
| + settings_map->SetContentSettingCustomScope(
|
| ContentSettingsPattern::FromString(pattern),
|
| secondary_pattern.empty()
|
| ? ContentSettingsPattern::Wildcard()
|
| @@ -1512,11 +1512,9 @@ void ContentSettingsHandler::SetException(const base::ListValue* args) {
|
| content_settings::ContentSettingFromString(setting, &setting_type);
|
| DCHECK(result);
|
|
|
| - settings_map->SetContentSetting(ContentSettingsPattern::FromString(pattern),
|
| - ContentSettingsPattern::Wildcard(),
|
| - type,
|
| - std::string(),
|
| - setting_type);
|
| + settings_map->SetContentSettingCustomScope(
|
| + ContentSettingsPattern::FromString(pattern),
|
| + ContentSettingsPattern::Wildcard(), type, std::string(), setting_type);
|
| WebSiteSettingsUmaUtil::LogPermissionChange(type, setting_type);
|
| }
|
| }
|
|
|