| Index: chrome/browser/content_settings/tab_specific_content_settings.cc
|
| diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc
|
| index 6a3ee5f6fabefda1d8be31e4cba2168be1aa860b..a322208966fabdd2f21d0307c6303a3271bdf533 100644
|
| --- a/chrome/browser/content_settings/tab_specific_content_settings.cc
|
| +++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
|
| @@ -419,6 +419,11 @@ void TabSpecificContentSettings::RenderViewCreated(
|
| HostContentSettingsMap* map = profile->GetHostContentSettingsMap();
|
| render_view_host->Send(new ChromeViewMsg_SetDefaultContentSettings(
|
| map->GetDefaultContentSettings()));
|
| +
|
| + ContentSettingRules rules;
|
| + map->GetConcatenatedSettingsForOneType(CONTENT_SETTINGS_TYPE_IMAGES, "",
|
| + &rules);
|
| + render_view_host->Send(new ChromeViewMsg_SetImageSettings(rules));
|
| }
|
|
|
| void TabSpecificContentSettings::DidStartProvisionalLoadForFrame(
|
| @@ -471,6 +476,10 @@ void TabSpecificContentSettings::Observe(int type,
|
| map->GetDefaultContentSettings()));
|
| Send(new ChromeViewMsg_SetContentSettingsForCurrentURL(
|
| entry_url, map->GetContentSettings(entry_url, entry_url)));
|
| + ContentSettingRules rules;
|
| + map->GetConcatenatedSettingsForOneType(CONTENT_SETTINGS_TYPE_IMAGES, "",
|
| + &rules);
|
| + Send(new ChromeViewMsg_SetImageSettings(rules));
|
| }
|
| }
|
|
|
|
|