Index: media/cast/test/receiver.cc |
diff --git a/media/cast/test/receiver.cc b/media/cast/test/receiver.cc |
index b2e59bd20d8afd6ee4ccd15f69012c08a451e2a3..0f5fd4e45dc93f526c6ec963c3af3910f599f723 100644 |
--- a/media/cast/test/receiver.cc |
+++ b/media/cast/test/receiver.cc |
@@ -21,6 +21,7 @@ |
#include "base/logging.h" |
#include "base/memory/ref_counted.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/run_loop.h" |
#include "base/synchronization/lock.h" |
#include "base/synchronization/waitable_event.h" |
#include "base/threading/thread.h" |
@@ -602,7 +603,7 @@ int main(int argc, char** argv) { |
window_height); |
player.Start(); |
- message_loop.Run(); // Run forever (i.e., until SIGTERM). |
+ base::RunLoop().Run(); // Run forever (i.e., until SIGTERM). |
NOTREACHED(); |
return 0; |
} |