Chromium Code Reviews| 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 76351bd18260d8b26f21e23fefa360ad9285ec6b..343aa88944495280ced116dc31e8719d8f9c908b 100644 |
| --- a/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
| +++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.cc |
| @@ -416,11 +416,10 @@ void ContentSettingSingleRadioGroup::SetRadioGroup() { |
| void ContentSettingSingleRadioGroup::AddException(ContentSetting setting) { |
|
msw
2015/11/09 18:41:56
nit: rename AddException to match SetNarrowestCont
raymes
2015/11/09 23:29:02
Done.
|
| if (profile()) { |
| - HostContentSettingsMapFactory::GetForProfile(profile())->AddExceptionForURL( |
| - bubble_content().radio_group.url, |
| - bubble_content().radio_group.url, |
| - content_type(), |
| - setting); |
| + HostContentSettingsMapFactory::GetForProfile(profile()) |
| + ->SetNarrowestContentSetting(bubble_content().radio_group.url, |
| + bubble_content().radio_group.url, |
| + content_type(), setting); |
| } |
| } |