| Index: chrome/browser/background/background_contents_service.cc
|
| diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
|
| index 05ac232bae287e8861f23763563b016b6b910ff4..47a69eda6b586272eeffb8ca4a0479b31537ea22 100644
|
| --- a/chrome/browser/background/background_contents_service.cc
|
| +++ b/chrome/browser/background/background_contents_service.cc
|
| @@ -12,7 +12,6 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/location.h"
|
| #include "base/macros.h"
|
| -#include "base/message_loop/message_loop.h"
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/strings/string_util.h"
|
| @@ -524,8 +523,8 @@ void BackgroundContentsService::OnExtensionUninstalled(
|
| void BackgroundContentsService::RestartForceInstalledExtensionOnCrash(
|
| const Extension* extension,
|
| Profile* profile) {
|
| - base::MessageLoop::current()->PostDelayedTask(FROM_HERE,
|
| - base::Bind(&ReloadExtension, extension->id(), profile),
|
| + base::ThreadTaskRunnerHandle::Get()->PostDelayedTask(
|
| + FROM_HERE, base::Bind(&ReloadExtension, extension->id(), profile),
|
| base::TimeDelta::FromMilliseconds(restart_delay_in_ms_));
|
| }
|
|
|
|
|