Index: components/arc/standalone/service_helper_unittest.cc |
diff --git a/components/arc/standalone/service_helper_unittest.cc b/components/arc/standalone/service_helper_unittest.cc |
index a1da8fc8db49604967c73cc0cae74cb6ccb75c49..a72703b0a798ab8910a0164607a7407ebfe16aec 100644 |
--- a/components/arc/standalone/service_helper_unittest.cc |
+++ b/components/arc/standalone/service_helper_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "base/macros.h" |
#include "base/message_loop/message_loop.h" |
#include "base/run_loop.h" |
+#include "base/single_thread_task_runner.h" |
#include "base/test/launcher/unit_test_launcher.h" |
#include "base/test/test_suite.h" |
#include "base/threading/platform_thread.h" |
@@ -29,7 +30,7 @@ class ServiceHelperTest : public ::testing::Test { |
void Quit() { |
CHECK(base_loop_); |
CHECK(run_loop_); |
- base_loop_->PostTask(FROM_HERE, run_loop_->QuitClosure()); |
+ base_loop_->task_runner()->PostTask(FROM_HERE, run_loop_->QuitClosure()); |
} |
void Init() { |