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 c1e269d742f75b6727dda23e6a584fac5a2ed0a4..7d7e30f0dd2d852793c8183f2f9840dc8b4f4809 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)); |