Index: base/threading/thread.cc |
diff --git a/base/threading/thread.cc b/base/threading/thread.cc |
index d42ba4d1577ae4abcd9ad8a8bb5576036a01b5b0..bab3991458fcf7385490e320b0f72fdd5a5b9a4b 100644 |
--- a/base/threading/thread.cc |
+++ b/base/threading/thread.cc |
@@ -6,6 +6,7 @@ |
#include "base/bind.h" |
#include "base/lazy_instance.h" |
+#include "base/location.h" |
#include "base/profiler/scoped_tracker.h" |
#include "base/synchronization/waitable_event.h" |
#include "base/third_party/dynamic_annotations/dynamic_annotations.h" |
@@ -162,7 +163,7 @@ void Thread::StopSoon() { |
return; |
stopping_ = true; |
- message_loop_->PostTask(FROM_HERE, base::Bind(&ThreadQuitHelper)); |
+ task_runner()->PostTask(FROM_HERE, base::Bind(&ThreadQuitHelper)); |
} |
bool Thread::IsRunning() const { |