| Index: chrome/browser/extensions/api/developer_private/developer_private_api.cc
|
| diff --git a/chrome/browser/extensions/api/developer_private/developer_private_api.cc b/chrome/browser/extensions/api/developer_private/developer_private_api.cc
|
| index 77164046632501374650595e290fc43e1c88fcbe..98c8b29be00a6f458e623d463ed39e31b7baf0ff 100644
|
| --- a/chrome/browser/extensions/api/developer_private/developer_private_api.cc
|
| +++ b/chrome/browser/extensions/api/developer_private/developer_private_api.cc
|
| @@ -150,11 +150,11 @@ namespace Inspect = api::developer_private::Inspect;
|
| namespace PackDirectory = api::developer_private::PackDirectory;
|
| namespace Reload = api::developer_private::Reload;
|
|
|
| -static base::LazyInstance<ProfileKeyedAPIFactory<DeveloperPrivateAPI> >
|
| +static base::LazyInstance<BrowserContextKeyedAPIFactory<DeveloperPrivateAPI> >
|
| g_factory = LAZY_INSTANCE_INITIALIZER;
|
|
|
| // static
|
| -ProfileKeyedAPIFactory<DeveloperPrivateAPI>*
|
| +BrowserContextKeyedAPIFactory<DeveloperPrivateAPI>*
|
| DeveloperPrivateAPI::GetFactoryInstance() {
|
| return g_factory.Pointer();
|
| }
|
| @@ -162,7 +162,7 @@ DeveloperPrivateAPI::GetFactoryInstance() {
|
| // static
|
| DeveloperPrivateAPI* DeveloperPrivateAPI::Get(
|
| content::BrowserContext* context) {
|
| - return GetFactoryInstance()->GetForProfile(context);
|
| + return GetFactoryInstance()->Get(context);
|
| }
|
|
|
| DeveloperPrivateAPI::DeveloperPrivateAPI(content::BrowserContext* context)
|
|
|