Index: chrome/browser/content_settings/cookie_settings_unittest.cc |
diff --git a/chrome/browser/content_settings/cookie_settings_unittest.cc b/chrome/browser/content_settings/cookie_settings_unittest.cc |
index 59d2d55c4686c6588349cf006fb48ff7021da2ef..59f4570f802bedb8e05d9b37562f8704ee7cae18 100644 |
--- a/chrome/browser/content_settings/cookie_settings_unittest.cc |
+++ b/chrome/browser/content_settings/cookie_settings_unittest.cc |
@@ -22,17 +22,18 @@ namespace { |
class CookieSettingsTest : public testing::Test { |
public: |
- CookieSettingsTest() : |
- ui_thread_(BrowserThread::UI, &message_loop_), |
- cookie_settings_(CookieSettings::Factory::GetForProfile(&profile_)), |
- kBlockedSite("http://ads.thirdparty.com"), |
- kAllowedSite("http://good.allays.com"), |
- kFirstPartySite("http://cool.things.com"), |
- kBlockedFirstPartySite("http://no.thirdparties.com"), |
- kExtensionURL("chrome-extension://deadbeef"), |
- kHttpsSite("https://example.com"), |
- kAllHttpsSitesPattern(ContentSettingsPattern::FromString("https://*")) { |
-} |
+ CookieSettingsTest() |
+ : ui_thread_(BrowserThread::UI, &message_loop_), |
+ cookie_settings_(CookieSettings::Factory::GetForProfile(&profile_) |
+ .get()), |
+ kBlockedSite("http://ads.thirdparty.com"), |
+ kAllowedSite("http://good.allays.com"), |
+ kFirstPartySite("http://cool.things.com"), |
+ kBlockedFirstPartySite("http://no.thirdparties.com"), |
+ kExtensionURL("chrome-extension://deadbeef"), |
+ kHttpsSite("https://example.com"), |
+ kAllHttpsSitesPattern(ContentSettingsPattern::FromString("https://*")) { |
+ } |
protected: |
base::MessageLoop message_loop_; |