Chromium Code Reviews| Index: base/synchronization/cancellation_flag_unittest.cc |
| diff --git a/base/synchronization/cancellation_flag_unittest.cc b/base/synchronization/cancellation_flag_unittest.cc |
| index 02b08b6a9de74e38c584d10ff3a30685d7e2308d..846a1ada33ef598dd14186bdf2be8deaac569e19 100644 |
| --- a/base/synchronization/cancellation_flag_unittest.cc |
| +++ b/base/synchronization/cancellation_flag_unittest.cc |
| @@ -7,8 +7,9 @@ |
| #include "base/synchronization/cancellation_flag.h" |
| #include "base/bind.h" |
| +#include "base/location.h" |
| #include "base/logging.h" |
| -#include "base/message_loop/message_loop.h" |
| +#include "base/single_thread_task_runner.h" |
| #include "base/synchronization/spin_wait.h" |
| #include "base/threading/thread.h" |
| #include "base/time/time.h" |
| @@ -56,7 +57,8 @@ TEST(CancellationFlagTest, SetOnDifferentThreadDeathTest) { |
| ASSERT_TRUE(t.IsRunning()); |
| CancellationFlag flag; |
| - t.message_loop()->PostTask(FROM_HERE, base::Bind(&CancelHelper, &flag)); |
| + t.message_loop()->task_runner()->PostTask(FROM_HERE, |
|
danakj
2015/04/21 20:16:30
no message_loop()->?
Sami
2015/04/23 17:48:24
Done.
|
| + base::Bind(&CancelHelper, &flag)); |
| } |
| } // namespace |