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 3ba057cd91190ae43110086e92abe279b6de884b..9feb6f771b8b2c9ccfb447562042e00fbe4da348 100644 |
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc |
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc |
@@ -488,6 +488,15 @@ void TabSpecificContentSettings::Observe(int type, |
map->GetDefaultContentSettings())); |
Send(new ChromeViewMsg_SetContentSettingsForCurrentURL( |
entry_url, map->GetContentSettings(entry_url, entry_url))); |
+ ContentSettingsForOneType settings; |
+ map->GetSettingsForOneType( |
+ CONTENT_SETTINGS_TYPE_IMAGES, "", |
+ &settings); |
+ settings.push_back(ContentSettingPatternSource( |
+ ContentSettingsPattern::Wildcard(), ContentSettingsPattern::Wildcard(), |
+ map->GetDefaultContentSetting(CONTENT_SETTINGS_TYPE_IMAGES), "", |
+ false)); |
+ Send(new ChromeViewMsg_SetImageSettingRules(settings)); |
} |
} |