Index: remoting/base/auto_thread.cc |
diff --git a/remoting/base/auto_thread.cc b/remoting/base/auto_thread.cc |
index 10766eac38b5187a0d7beca8c296e40f9954afe5..e10bf159d0271bbdd53cc9237cdfe59fa55b7dfa 100644 |
--- a/remoting/base/auto_thread.cc |
+++ b/remoting/base/auto_thread.cc |
@@ -6,6 +6,7 @@ |
#include "base/bind.h" |
#include "base/lazy_instance.h" |
+#include "base/run_loop.h" |
#include "base/synchronization/waitable_event.h" |
#include "base/third_party/dynamic_annotations/dynamic_annotations.h" |
#include "base/threading/thread_local.h" |
@@ -207,7 +208,7 @@ void AutoThread::ThreadMain() { |
CreateComInitializer(com_init_type_)); |
#endif |
- message_loop.Run(); |
+ base::RunLoop().Run(); |
// Assert that MessageLoop::QuitWhenIdle was called by AutoThread::QuitThread. |
DCHECK(was_quit_properly_); |