Index: base/test/sequenced_worker_pool_owner.cc |
diff --git a/base/test/sequenced_worker_pool_owner.cc b/base/test/sequenced_worker_pool_owner.cc |
index 4486323344219db6e344ebe8135bd4ae8e922e5b..b0d8b7a1adb084d0fcd78c037acfacd91c643944 100644 |
--- a/base/test/sequenced_worker_pool_owner.cc |
+++ b/base/test/sequenced_worker_pool_owner.cc |
@@ -6,6 +6,7 @@ |
#include "base/location.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/single_thread_task_runner.h" |
namespace base { |
@@ -50,9 +51,8 @@ void SequencedWorkerPoolOwner::WillWaitForShutdown() { |
} |
void SequencedWorkerPoolOwner::OnDestruct() { |
- constructor_message_loop_->PostTask( |
- FROM_HERE, |
- constructor_message_loop_->QuitWhenIdleClosure()); |
+ constructor_message_loop_->task_runner()->PostTask( |
+ FROM_HERE, constructor_message_loop_->QuitWhenIdleClosure()); |
} |
} // namespace base |