diff options
Diffstat (limited to 'chrome/browser/extensions/api/processes/processes_api.cc')
-rw-r--r-- | chrome/browser/extensions/api/processes/processes_api.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/extensions/api/processes/processes_api.cc b/chrome/browser/extensions/api/processes/processes_api.cc index c450f03..6e385ce 100644 --- a/chrome/browser/extensions/api/processes/processes_api.cc +++ b/chrome/browser/extensions/api/processes/processes_api.cc @@ -508,17 +508,18 @@ void ProcessesAPI::Shutdown() { this); } -static base::LazyInstance<ProfileKeyedAPIFactory<ProcessesAPI> > -g_factory = LAZY_INSTANCE_INITIALIZER; +static base::LazyInstance<BrowserContextKeyedAPIFactory<ProcessesAPI> > + g_factory = LAZY_INSTANCE_INITIALIZER; // static -ProfileKeyedAPIFactory<ProcessesAPI>* ProcessesAPI::GetFactoryInstance() { +BrowserContextKeyedAPIFactory<ProcessesAPI>* +ProcessesAPI::GetFactoryInstance() { return g_factory.Pointer(); } // static ProcessesAPI* ProcessesAPI::Get(content::BrowserContext* context) { - return ProfileKeyedAPIFactory<ProcessesAPI>::GetForProfile(context); + return BrowserContextKeyedAPIFactory<ProcessesAPI>::Get(context); } ProcessesEventRouter* ProcessesAPI::processes_event_router() { |