| Index: chrome/browser/extensions/extension_system_factory.cc
|
| diff --git a/chrome/browser/extensions/extension_system_factory.cc b/chrome/browser/extensions/extension_system_factory.cc
|
| index 19b86964074071985e333ddebbf77f7662b4a424..781678e1d83e2bed5a8167f199c065abc2f80369 100644
|
| --- a/chrome/browser/extensions/extension_system_factory.cc
|
| +++ b/chrome/browser/extensions/extension_system_factory.cc
|
| @@ -42,8 +42,8 @@ ExtensionSystemSharedFactory::~ExtensionSystemSharedFactory() {
|
| }
|
|
|
| ProfileKeyedService* ExtensionSystemSharedFactory::BuildServiceInstanceFor(
|
| - Profile* profile) const {
|
| - return new ExtensionSystemImpl::Shared(profile);
|
| + content::BrowserContext* profile) const {
|
| + return new ExtensionSystemImpl::Shared(static_cast<Profile*>(profile));
|
| }
|
|
|
| bool ExtensionSystemSharedFactory::ServiceRedirectedInIncognito() const {
|
| @@ -74,8 +74,8 @@ ExtensionSystemFactory::~ExtensionSystemFactory() {
|
| }
|
|
|
| ProfileKeyedService* ExtensionSystemFactory::BuildServiceInstanceFor(
|
| - Profile* profile) const {
|
| - return new ExtensionSystemImpl(profile);
|
| + content::BrowserContext* profile) const {
|
| + return new ExtensionSystemImpl(static_cast<Profile*>(profile));
|
| }
|
|
|
| bool ExtensionSystemFactory::ServiceHasOwnInstanceInIncognito() const {
|
|
|