Index: remoting/host/daemon_process_unittest.cc |
diff --git a/remoting/host/daemon_process_unittest.cc b/remoting/host/daemon_process_unittest.cc |
index 5d042adb3f6ba5e3684a525e264398a9d51d9d5a..1d628f13ee22cf9154b4378bdd4c0a155772db94 100644 |
--- a/remoting/host/daemon_process_unittest.cc |
+++ b/remoting/host/daemon_process_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "base/memory/ptr_util.h" |
#include "base/memory/ref_counted.h" |
#include "base/process/process.h" |
+#include "base/single_thread_task_runner.h" |
#include "ipc/ipc_message.h" |
#include "ipc/ipc_message_macros.h" |
#include "ipc/ipc_platform_file.h" |
@@ -210,7 +211,8 @@ void DaemonProcessTest::DeleteDaemonProcess() { |
} |
void DaemonProcessTest::QuitMessageLoop() { |
- message_loop_.PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); |
+ message_loop_.task_runner()->PostTask( |
+ FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); |
} |
void DaemonProcessTest::StartDaemonProcess() { |