| Index: chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc
|
| diff --git a/chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc b/chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc
|
| index 7b533ff587355fc22a0a87fb3c6eabd2cac6a5a8..10b63bd5c66e431423b3bb337dcd84132452474a 100644
|
| --- a/chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc
|
| +++ b/chrome/browser/ui/content_settings/content_setting_image_model_unittest.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| +#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
|
| #include "chrome/browser/content_settings/tab_specific_content_settings.h"
|
| #include "chrome/browser/prerender/prerender_manager.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -95,8 +96,9 @@ TEST_F(ContentSettingImageModelTest, CookieAccessed) {
|
| TabSpecificContentSettings::CreateForWebContents(web_contents());
|
| TabSpecificContentSettings* content_settings =
|
| TabSpecificContentSettings::FromWebContents(web_contents());
|
| - profile()->GetHostContentSettingsMap()->SetDefaultContentSetting(
|
| - CONTENT_SETTINGS_TYPE_COOKIES, CONTENT_SETTING_BLOCK);
|
| + HostContentSettingsMapFactory::GetForProfile(profile())
|
| + ->SetDefaultContentSetting(CONTENT_SETTINGS_TYPE_COOKIES,
|
| + CONTENT_SETTING_BLOCK);
|
| scoped_ptr<ContentSettingImageModel> content_setting_image_model(
|
| ContentSettingImageModel::CreateContentSettingImageModel(
|
| CONTENT_SETTINGS_TYPE_COOKIES));
|
|
|