| Index: chrome/browser/extensions/api/declarative/rules_registry_service.cc
|
| diff --git a/chrome/browser/extensions/api/declarative/rules_registry_service.cc b/chrome/browser/extensions/api/declarative/rules_registry_service.cc
|
| index 58d76b0934931d440daf014e95eb10a5f5b70a5e..908e1cc2860e4835b9e55b41ef9ac40f98f5df6a 100644
|
| --- a/chrome/browser/extensions/api/declarative/rules_registry_service.cc
|
| +++ b/chrome/browser/extensions/api/declarative/rules_registry_service.cc
|
| @@ -122,11 +122,11 @@ void RulesRegistryService::Shutdown() {
|
| scoped_refptr<WebRequestRulesRegistry>(NULL)));
|
| }
|
|
|
| -static base::LazyInstance<ProfileKeyedAPIFactory<RulesRegistryService> >
|
| -g_factory = LAZY_INSTANCE_INITIALIZER;
|
| +static base::LazyInstance<BrowserContextKeyedAPIFactory<RulesRegistryService> >
|
| + g_factory = LAZY_INSTANCE_INITIALIZER;
|
|
|
| // static
|
| -ProfileKeyedAPIFactory<RulesRegistryService>*
|
| +BrowserContextKeyedAPIFactory<RulesRegistryService>*
|
| RulesRegistryService::GetFactoryInstance() {
|
| return g_factory.Pointer();
|
| }
|
| @@ -134,7 +134,7 @@ RulesRegistryService::GetFactoryInstance() {
|
| // static
|
| RulesRegistryService* RulesRegistryService::Get(
|
| content::BrowserContext* context) {
|
| - return ProfileKeyedAPIFactory<RulesRegistryService>::GetForProfile(context);
|
| + return BrowserContextKeyedAPIFactory<RulesRegistryService>::Get(context);
|
| }
|
|
|
| void RulesRegistryService::RegisterRulesRegistry(
|
|
|