| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 6b284064211ea7ef1e28910ebf4716a4ae723774..30df17ea364c107aa5e8b2589b86a1b106c512a6 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -14,6 +14,7 @@
|
| #include "chrome/browser/chrome_plugin_message_filter.h"
|
| #include "chrome/browser/chrome_quota_permission_context.h"
|
| #include "chrome/browser/chrome_worker_message_filter.h"
|
| +#include "chrome/browser/content_settings/content_settings_utils.h"
|
| #include "chrome/browser/content_settings/cookie_settings.h"
|
| #include "chrome/browser/content_settings/tab_specific_content_settings.h"
|
| #include "chrome/browser/download/download_util.h"
|
| @@ -292,10 +293,9 @@ void ChromeContentBrowserClient::BrowserRenderProcessHostCreated(
|
| profile->IsOffTheRecord()));
|
|
|
| SendExtensionWebRequestStatusToHost(host);
|
| - ContentSettingsForOneType settings;
|
| - HostContentSettingsMap* map = profile->GetHostContentSettingsMap();
|
| - map->GetSettingsForOneType(CONTENT_SETTINGS_TYPE_IMAGES, "", &settings);
|
| - host->Send(new ChromeViewMsg_SetImageSettingRules(settings));
|
| +
|
| + const HostContentSettingsMap* map = profile->GetHostContentSettingsMap();
|
| + SendContentSettingRules(map, host);
|
| }
|
|
|
| void ChromeContentBrowserClient::PluginProcessHostCreated(
|
|
|