| Index: chrome/browser/captive_portal/captive_portal_service_factory.cc
|
| diff --git a/chrome/browser/captive_portal/captive_portal_service_factory.cc b/chrome/browser/captive_portal/captive_portal_service_factory.cc
|
| index 26f49b280920ca4df31ef7471679ff0bc298bff4..474a18a59f2a39854a5dbc8b42f8746458e71427 100644
|
| --- a/chrome/browser/captive_portal/captive_portal_service_factory.cc
|
| +++ b/chrome/browser/captive_portal/captive_portal_service_factory.cc
|
| @@ -31,8 +31,8 @@ CaptivePortalServiceFactory::~CaptivePortalServiceFactory() {
|
| }
|
|
|
| ProfileKeyedService* CaptivePortalServiceFactory::BuildServiceInstanceFor(
|
| - Profile* profile) const {
|
| - return new CaptivePortalService(profile);
|
| + content::BrowserContext* profile) const {
|
| + return new CaptivePortalService(static_cast<Profile*>(profile));
|
| }
|
|
|
| bool CaptivePortalServiceFactory::ServiceHasOwnInstanceInIncognito() const {
|
|
|