Index: media/cast/test/utility/udp_proxy_main.cc |
diff --git a/media/cast/test/utility/udp_proxy_main.cc b/media/cast/test/utility/udp_proxy_main.cc |
index d050ea0e116d404cfe219c3cb3804476f7ba4502..439b079747786ca9e6d42be3f60e8875dfc0363f 100644 |
--- a/media/cast/test/utility/udp_proxy_main.cc |
+++ b/media/cast/test/utility/udp_proxy_main.cc |
@@ -13,6 +13,8 @@ |
#include "base/lazy_instance.h" |
#include "base/logging.h" |
#include "base/message_loop/message_loop.h" |
+#include "base/single_thread_task_runner.h" |
+#include "base/thread_task_runner_handle.h" |
#include "media/cast/test/utility/udp_proxy.h" |
class ByteCounter { |
@@ -115,7 +117,7 @@ void CheckByteCounters() { |
g_counter.Get().last_printout = now; |
} |
- base::MessageLoopProxy::current()->PostDelayedTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( |
FROM_HERE, |
base::Bind(&CheckByteCounters), |
base::TimeDelta::FromMilliseconds(100)); |