| Index: chrome/browser/extensions/extension_system_impl.cc
|
| diff --git a/chrome/browser/extensions/extension_system_impl.cc b/chrome/browser/extensions/extension_system_impl.cc
|
| index 16626c3c44c60e462b28178100c37d845304a3e2..ce9b92141e87db304d7bac43f2b881777fc7618f 100644
|
| --- a/chrome/browser/extensions/extension_system_impl.cc
|
| +++ b/chrome/browser/extensions/extension_system_impl.cc
|
| @@ -453,19 +453,18 @@ void ExtensionSystemImpl::RegisterExtensionWithRequestContexts(
|
|
|
| BrowserThread::PostTaskAndReply(
|
| BrowserThread::IO, FROM_HERE,
|
| - base::Bind(&InfoMap::AddExtension, info_map(),
|
| - base::RetainedRef(extension), install_time, incognito_enabled,
|
| - notifications_disabled),
|
| + base::BindOnce(&InfoMap::AddExtension, info_map(),
|
| + base::RetainedRef(extension), install_time,
|
| + incognito_enabled, notifications_disabled),
|
| callback);
|
| }
|
|
|
| void ExtensionSystemImpl::UnregisterExtensionWithRequestContexts(
|
| const std::string& extension_id,
|
| const UnloadedExtensionInfo::Reason reason) {
|
| - BrowserThread::PostTask(
|
| - BrowserThread::IO,
|
| - FROM_HERE,
|
| - base::Bind(&InfoMap::RemoveExtension, info_map(), extension_id, reason));
|
| + BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
|
| + base::BindOnce(&InfoMap::RemoveExtension, info_map(),
|
| + extension_id, reason));
|
| }
|
|
|
| } // namespace extensions
|
|
|