Index: remoting/host/remoting_me2me_host.cc |
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc |
index bb15d59340fc5297cfd1dae6ecbbd97a86ff5bfa..b58772c0f74caa7912a56d28f1e6ecfa6bd28bda 100644 |
--- a/remoting/host/remoting_me2me_host.cc |
+++ b/remoting/host/remoting_me2me_host.cc |
@@ -20,6 +20,7 @@ |
#include "base/macros.h" |
#include "base/memory/ptr_util.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/run_loop.h" |
#include "base/single_thread_task_runner.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_util.h" |
@@ -1667,7 +1668,7 @@ int HostProcessMain() { |
new HostProcess(std::move(context), &exit_code, &shutdown_watchdog); |
// Run the main (also UI) message loop until the host no longer needs it. |
- message_loop.Run(); |
+ base::RunLoop().Run(); |
return exit_code; |
} |