| Index: chrome/browser/extensions/api/runtime/runtime_api.cc
|
| diff --git a/chrome/browser/extensions/api/runtime/runtime_api.cc b/chrome/browser/extensions/api/runtime/runtime_api.cc
|
| index 75c98c0ad0790264a30850bc901958c4823bee9b..e9061d8121313a48cdeaec17ea2070882e48bc40 100644
|
| --- a/chrome/browser/extensions/api/runtime/runtime_api.cc
|
| +++ b/chrome/browser/extensions/api/runtime/runtime_api.cc
|
| @@ -185,7 +185,8 @@ bool RuntimeReloadFunction::RunImpl() {
|
| // We can't call ReloadExtension directly, since when this method finishes
|
| // it tries to decrease the reference count for the extension, which fails
|
| // if the extension has already been reloaded; so instead we post a task.
|
| - MessageLoop::current()->PostTask(FROM_HERE,
|
| + base::MessageLoop::current()->PostTask(
|
| + FROM_HERE,
|
| base::Bind(&ExtensionService::ReloadExtension,
|
| profile()->GetExtensionService()->AsWeakPtr(),
|
| extension_id()));
|
|
|