| 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 c677e7299f857c8bb5452aa0ee931679b82862b8..67c9e6e4665ce0470d2d65745ddb3ec05271e7d3 100644
|
| --- a/chrome/browser/captive_portal/captive_portal_service_factory.cc
|
| +++ b/chrome/browser/captive_portal/captive_portal_service_factory.cc
|
| @@ -15,7 +15,7 @@ namespace captive_portal {
|
| CaptivePortalService* CaptivePortalServiceFactory::GetForProfile(
|
| Profile* profile) {
|
| return static_cast<CaptivePortalService*>(
|
| - GetInstance()->GetServiceForProfile(profile, true));
|
| + GetInstance()->GetServiceForBrowserContext(profile, true));
|
| }
|
|
|
| // static
|
| @@ -24,14 +24,14 @@ CaptivePortalServiceFactory* CaptivePortalServiceFactory::GetInstance() {
|
| }
|
|
|
| CaptivePortalServiceFactory::CaptivePortalServiceFactory()
|
| - : ProfileKeyedServiceFactory("CaptivePortalService",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + : BrowserContextKeyedServiceFactory("CaptivePortalService",
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| }
|
|
|
| CaptivePortalServiceFactory::~CaptivePortalServiceFactory() {
|
| }
|
|
|
| -ProfileKeyedService* CaptivePortalServiceFactory::BuildServiceInstanceFor(
|
| +BrowserContextKeyedService* CaptivePortalServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| return new CaptivePortalService(static_cast<Profile*>(profile));
|
| }
|
|
|