Index: base/sequence_checker_unittest.cc |
diff --git a/base/sequence_checker_unittest.cc b/base/sequence_checker_unittest.cc |
index 9aae82c684aff1dabcb718e14d274ebcc6609b77..0aa0f9cdbb74d8cd0711f5621c3a81067d5d6db6 100644 |
--- a/base/sequence_checker_unittest.cc |
+++ b/base/sequence_checker_unittest.cc |
@@ -9,8 +9,8 @@ |
#include "base/logging.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
-#include "base/message_loop/message_loop.h" |
#include "base/sequence_checker.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/test/sequenced_worker_pool_owner.h" |
#include "base/threading/thread.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -84,10 +84,9 @@ class SequenceCheckerTest : public testing::Test { |
void PostDoStuffToOtherThread( |
SequenceCheckedObject* sequence_checked_object) { |
- other_thread()->message_loop()->PostTask( |
- FROM_HERE, |
- base::Bind(&SequenceCheckedObject::DoStuff, |
- base::Unretained(sequence_checked_object))); |
+ other_thread()->task_runner()->PostTask( |
+ FROM_HERE, base::Bind(&SequenceCheckedObject::DoStuff, |
+ base::Unretained(sequence_checked_object))); |
} |
void PostDeleteToOtherThread( |