| Index: chrome/browser/extensions/api/image_writer_private/operation_manager.cc
|
| diff --git a/chrome/browser/extensions/api/image_writer_private/operation_manager.cc b/chrome/browser/extensions/api/image_writer_private/operation_manager.cc
|
| index e2d8b33dbe8a2ea13c1751db82ab5115199b762f..2de8d1973cac70b23ff1039b38fa7333cee14dce 100644
|
| --- a/chrome/browser/extensions/api/image_writer_private/operation_manager.cc
|
| +++ b/chrome/browser/extensions/api/image_writer_private/operation_manager.cc
|
| @@ -239,14 +239,14 @@ void OperationManager::Observe(int type,
|
| }
|
|
|
| OperationManager* OperationManager::Get(content::BrowserContext* context) {
|
| - return ProfileKeyedAPIFactory<OperationManager>::GetForProfile(context);
|
| + return BrowserContextKeyedAPIFactory<OperationManager>::Get(context);
|
| }
|
|
|
| -static base::LazyInstance<ProfileKeyedAPIFactory<OperationManager> >
|
| +static base::LazyInstance<BrowserContextKeyedAPIFactory<OperationManager> >
|
| g_factory = LAZY_INSTANCE_INITIALIZER;
|
|
|
| -ProfileKeyedAPIFactory<OperationManager>*
|
| - OperationManager::GetFactoryInstance() {
|
| +BrowserContextKeyedAPIFactory<OperationManager>*
|
| +OperationManager::GetFactoryInstance() {
|
| return g_factory.Pointer();
|
| }
|
|
|
|
|