| Index: chrome/browser/extensions/extension_commands_global_registry.cc
|
| diff --git a/chrome/browser/extensions/extension_commands_global_registry.cc b/chrome/browser/extensions/extension_commands_global_registry.cc
|
| index 72bb97cef8ada140cf190bc654fd3789935aa8e0..b3b19b0fe8d22fd658ce2e9fc0737dccac76050a 100644
|
| --- a/chrome/browser/extensions/extension_commands_global_registry.cc
|
| +++ b/chrome/browser/extensions/extension_commands_global_registry.cc
|
| @@ -26,11 +26,11 @@ ExtensionCommandsGlobalRegistry::~ExtensionCommandsGlobalRegistry() {
|
| }
|
|
|
| static base::LazyInstance<
|
| - ProfileKeyedAPIFactory<ExtensionCommandsGlobalRegistry> >
|
| -g_factory = LAZY_INSTANCE_INITIALIZER;
|
| + BrowserContextKeyedAPIFactory<ExtensionCommandsGlobalRegistry> > g_factory =
|
| + LAZY_INSTANCE_INITIALIZER;
|
|
|
| // static
|
| -ProfileKeyedAPIFactory<ExtensionCommandsGlobalRegistry>*
|
| +BrowserContextKeyedAPIFactory<ExtensionCommandsGlobalRegistry>*
|
| ExtensionCommandsGlobalRegistry::GetFactoryInstance() {
|
| return g_factory.Pointer();
|
| }
|
| @@ -38,7 +38,7 @@ ExtensionCommandsGlobalRegistry::GetFactoryInstance() {
|
| // static
|
| ExtensionCommandsGlobalRegistry* ExtensionCommandsGlobalRegistry::Get(
|
| content::BrowserContext* context) {
|
| - return ProfileKeyedAPIFactory<ExtensionCommandsGlobalRegistry>::GetForProfile(
|
| + return BrowserContextKeyedAPIFactory<ExtensionCommandsGlobalRegistry>::Get(
|
| context);
|
| }
|
|
|
|
|