Index: remoting/host/daemon_process_unittest.cc |
diff --git a/remoting/host/daemon_process_unittest.cc b/remoting/host/daemon_process_unittest.cc |
index 1d628f13ee22cf9154b4378bdd4c0a155772db94..03c8c8dc625f5d6f02b248a674e6190fbf5c5622 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/run_loop.h" |
#include "base/single_thread_task_runner.h" |
#include "ipc/ipc_message.h" |
#include "ipc/ipc_message_macros.h" |
@@ -186,7 +187,7 @@ void DaemonProcessTest::SetUp() { |
void DaemonProcessTest::TearDown() { |
daemon_process_->Stop(); |
- message_loop_.Run(); |
+ base::RunLoop().Run(); |
} |
DesktopSession* DaemonProcessTest::DoCreateDesktopSession(int terminal_id) { |