Index: base/threading/post_task_and_reply_impl.cc |
diff --git a/base/threading/post_task_and_reply_impl.cc b/base/threading/post_task_and_reply_impl.cc |
index f464c6acad23c570527ae442b2956eeb22e891c1..a82a4fd804386bddaaafafab8c53543c6772e09e 100644 |
--- a/base/threading/post_task_and_reply_impl.cc |
+++ b/base/threading/post_task_and_reply_impl.cc |
@@ -6,7 +6,8 @@ |
#include "base/bind.h" |
#include "base/location.h" |
-#include "base/message_loop/message_loop_proxy.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
namespace base { |
@@ -26,7 +27,7 @@ class PostTaskAndReplyRelay { |
PostTaskAndReplyRelay(const tracked_objects::Location& from_here, |
const Closure& task, const Closure& reply) |
: from_here_(from_here), |
- origin_loop_(MessageLoopProxy::current()) { |
+ origin_loop_(ThreadTaskRunnerHandle::Get()) { |
task_ = task; |
reply_ = reply; |
} |
@@ -61,7 +62,7 @@ class PostTaskAndReplyRelay { |
} |
tracked_objects::Location from_here_; |
- scoped_refptr<MessageLoopProxy> origin_loop_; |
+ scoped_refptr<SingleThreadTaskRunner> origin_loop_; |
Closure reply_; |
Closure task_; |
}; |