| 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 ebb68a9f296487c157d1af9f18ff8c2682a89876..513fbc945eb5df73559d7f488be9704cad20d464 100644
|
| --- a/chrome/browser/search/instant_service_factory.cc
|
| +++ b/chrome/browser/search/instant_service_factory.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/search/instant_service_factory.h"
|
|
|
| +#include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/profiles/profile_dependency_manager.h"
|
| #include "chrome/browser/search/instant_service.h"
|
|
|
| @@ -32,6 +33,6 @@ bool InstantServiceFactory::ServiceHasOwnInstanceInIncognito() const {
|
| }
|
|
|
| ProfileKeyedService* InstantServiceFactory::BuildServiceInstanceFor(
|
| - Profile* profile) const {
|
| - return new InstantService(profile);
|
| + content::BrowserContext* profile) const {
|
| + return new InstantService(static_cast<Profile*>(profile));
|
| }
|
|
|