| Index: chrome/browser/search/instant_service_factory.cc
|
| diff --git a/chrome/browser/search/instant_service_factory.cc b/chrome/browser/search/instant_service_factory.cc
|
| index f4b6daacb7764a08c72f1be85cf8c1c26a7fd2f0..8f01ac01e94019dba188db91b9cfd779d62cee62 100644
|
| --- a/chrome/browser/search/instant_service_factory.cc
|
| +++ b/chrome/browser/search/instant_service_factory.cc
|
| @@ -12,7 +12,7 @@
|
| // static
|
| InstantService* InstantServiceFactory::GetForProfile(Profile* profile) {
|
| return static_cast<InstantService*>(
|
| - GetInstance()->GetServiceForProfile(profile, true));
|
| + GetInstance()->GetServiceForBrowserContext(profile, true));
|
| }
|
|
|
| // static
|
| @@ -21,8 +21,8 @@ InstantServiceFactory* InstantServiceFactory::GetInstance() {
|
| }
|
|
|
| InstantServiceFactory::InstantServiceFactory()
|
| - : ProfileKeyedServiceFactory("InstantService",
|
| - ProfileDependencyManager::GetInstance()) {
|
| + : BrowserContextKeyedServiceFactory("InstantService",
|
| + BrowserContextDependencyManager::GetInstance()) {
|
| // No dependencies.
|
| }
|
|
|
| @@ -34,7 +34,7 @@ content::BrowserContext* InstantServiceFactory::GetBrowserContextToUse(
|
| return chrome::GetBrowserContextOwnInstanceInIncognito(context);
|
| }
|
|
|
| -ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor(
|
| +BrowserContextKeyedService* InstantServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| return new InstantService(static_cast<Profile*>(profile));
|
| }
|
|
|