| 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 e20d92eb9b0ec64e0e9ae19c16931bfa283439d5..fc2160b700a75eed7c575f89094416a4689344e2 100644
|
| --- a/chrome/browser/search/instant_service_factory.cc
|
| +++ b/chrome/browser/search/instant_service_factory.cc
|
| @@ -15,7 +15,7 @@
|
|
|
| // static
|
| InstantService* InstantServiceFactory::GetForProfile(Profile* profile) {
|
| - if (!chrome::IsInstantExtendedAPIEnabled())
|
| + if (!search::IsInstantExtendedAPIEnabled())
|
| return NULL;
|
|
|
| return static_cast<InstantService*>(
|
| @@ -48,6 +48,7 @@ content::BrowserContext* InstantServiceFactory::GetBrowserContextToUse(
|
|
|
| KeyedService* InstantServiceFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* profile) const {
|
| - return chrome::IsInstantExtendedAPIEnabled() ?
|
| - new InstantService(static_cast<Profile*>(profile)) : NULL;
|
| + return search::IsInstantExtendedAPIEnabled()
|
| + ? new InstantService(static_cast<Profile*>(profile))
|
| + : NULL;
|
| }
|
|
|