summaryrefslogtreecommitdiffstats
path: root/chromium/base/process/kill_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/process/kill_win.cc')
-rw-r--r--chromium/base/process/kill_win.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/base/process/kill_win.cc b/chromium/base/process/kill_win.cc
index 0f60a291a07..358590e7a38 100644
--- a/chromium/base/process/kill_win.cc
+++ b/chromium/base/process/kill_win.cc
@@ -14,8 +14,8 @@
#include "base/bind_helpers.h"
#include "base/logging.h"
#include "base/macros.h"
-#include "base/message_loop/message_loop.h"
#include "base/process/process_iterator.h"
+#include "base/threading/thread_task_runner_handle.h"
#include "base/win/object_watcher.h"
namespace base {
@@ -46,7 +46,7 @@ class TimerExpiredTask : public win::ObjectWatcher::Delegate {
void TimedOut();
- // MessageLoop::Watcher -----------------------------------------------------
+ // win::ObjectWatcher::Delegate implementation.
void OnObjectSignaled(HANDLE object) override;
private:
@@ -193,7 +193,7 @@ void EnsureProcessTerminated(Process process) {
return;
}
- MessageLoop::current()->PostDelayedTask(
+ ThreadTaskRunnerHandle::Get()->PostDelayedTask(
FROM_HERE, Bind(&TimerExpiredTask::TimedOut,
Owned(new TimerExpiredTask(std::move(process)))),
TimeDelta::FromMilliseconds(kWaitInterval));