diff options
Diffstat (limited to 'base/threading/thread.h')
-rw-r--r-- | base/threading/thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/threading/thread.h b/base/threading/thread.h index 5010f0e..4915606 100644 --- a/base/threading/thread.h +++ b/base/threading/thread.h @@ -11,8 +11,8 @@ #include "base/callback.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop/message_loop.h" -#include "base/message_loop/message_loop_proxy.h" #include "base/message_loop/timer_slack.h" +#include "base/single_thread_task_runner.h" #include "base/threading/platform_thread.h" namespace base { @@ -156,7 +156,7 @@ class BASE_EXPORT Thread : PlatformThread::Delegate { // hold on to this even after the thread is gone; in this situation, attempts // to PostTask() will fail. scoped_refptr<SingleThreadTaskRunner> task_runner() const { - return message_loop_proxy(); + return message_loop_->task_runner(); } // Returns the name of this thread (for display in debugger too). |