Index: base/process/kill_win.cc |
diff --git a/base/process/kill_win.cc b/base/process/kill_win.cc |
index 0f60a291a07e27e22ce51402f8cfb177a81de62a..bdb0221249dd8b223ebe2b2f365d45c6ea434159 100644 |
--- a/base/process/kill_win.cc |
+++ b/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 --------------------------------------------- |
danakj
2016/06/13 21:21:12
Heh this is a weird comment. Can you just change i
fdoray
2016/06/14 14:01:27
Done.
|
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)); |