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 ed4f55d75681977bf33db93a5edc179c433cef08..78f5a3997a3fe2734056a07106dc9efaac6f29b8 100644 |
--- a/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
+++ b/chrome/browser/content_settings/host_content_settings_map_unittest.cc |
@@ -395,7 +395,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"); |