| Index: extensions/browser/extension_function_dispatcher.cc
|
| diff --git a/extensions/browser/extension_function_dispatcher.cc b/extensions/browser/extension_function_dispatcher.cc
|
| index 5edb3ecd41da0fbcd4c673fe48c502b9a7396bbe..b3f3043b09ff0e0b8d6bd814790dc46b0492e327 100644
|
| --- a/extensions/browser/extension_function_dispatcher.cc
|
| +++ b/extensions/browser/extension_function_dispatcher.cc
|
| @@ -410,14 +410,13 @@ void ExtensionFunctionDispatcher::DispatchWithCallbackInternal(
|
| // now, largely for simplicity's sake. This is OK because currently, only
|
| // the webRequest API uses IOThreadExtensionFunction, and that API is not
|
| // compatible with lazy background pages.
|
| - extension_system->process_manager()->IncrementLazyKeepaliveCount(extension);
|
| + ProcessManager::Get(browser_context_)->IncrementLazyKeepaliveCount(extension);
|
| }
|
|
|
| void ExtensionFunctionDispatcher::OnExtensionFunctionCompleted(
|
| const Extension* extension) {
|
| if (extension) {
|
| - ExtensionSystem::Get(browser_context_)
|
| - ->process_manager()
|
| + ProcessManager::Get(browser_context_)
|
| ->DecrementLazyKeepaliveCount(extension);
|
| }
|
| }
|
|
|