| Index: chrome/browser/content_settings/cookie_settings.cc
|
| diff --git a/chrome/browser/content_settings/cookie_settings.cc b/chrome/browser/content_settings/cookie_settings.cc
|
| index e0b1ff67d1cec902d14fe21b3c2fc8b114ce48f6..9c6e6f064c5c76ecab76e7c0af29097b143adec6 100644
|
| --- a/chrome/browser/content_settings/cookie_settings.cc
|
| +++ b/chrome/browser/content_settings/cookie_settings.cc
|
| @@ -77,7 +77,9 @@ bool CookieSettings::Factory::ServiceRedirectedInIncognito() const {
|
| }
|
|
|
| scoped_refptr<RefcountedProfileKeyedService>
|
| -CookieSettings::Factory::BuildServiceInstanceFor(Profile* profile) const {
|
| +CookieSettings::Factory::BuildServiceInstanceFor(
|
| + content::BrowserContext* context) const {
|
| + Profile* profile = static_cast<Profile*>(context);
|
| return new CookieSettings(profile->GetHostContentSettingsMap(),
|
| profile->GetPrefs());
|
| }
|
|
|