Index: chrome/browser/content_settings/host_content_settings_map_unittest.cc |
diff --git a/chrome/browser/content_settings/host_content_settings_map_unittest.cc b/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
index e8f1640f94729085bf8931c7bce17d63700ef9f3..053701ca948cc836c2746ea2000895ba1ee1efdb 100644 |
--- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
+++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
@@ -400,7 +400,7 @@ TEST_F(HostContentSettingsMapTest, HostTrimEndingDotCheck) { |
HostContentSettingsMap* host_content_settings_map = |
profile.GetHostContentSettingsMap(); |
CookieSettings* cookie_settings = |
- CookieSettings::Factory::GetForProfile(&profile); |
+ CookieSettings::Factory::GetForProfile(&profile).get(); |
ContentSettingsPattern pattern = |
ContentSettingsPattern::FromString("[*.]example.com"); |