| Index: media/cast/test/utility/udp_proxy.cc
|
| diff --git a/media/cast/test/utility/udp_proxy.cc b/media/cast/test/utility/udp_proxy.cc
|
| index 9b05589a596ef9514dc2ca290bbf53836c04e35a..bdabe27e4b1f5ea46fb45cf14caad76331f02e17 100644
|
| --- a/media/cast/test/utility/udp_proxy.cc
|
| +++ b/media/cast/test/utility/udp_proxy.cc
|
| @@ -10,7 +10,9 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/rand_util.h"
|
| +#include "base/single_thread_task_runner.h"
|
| #include "base/synchronization/waitable_event.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "base/threading/thread.h"
|
| #include "base/time/default_tick_clock.h"
|
| #include "net/base/io_buffer.h"
|
| @@ -741,9 +743,9 @@ class UDPProxyImpl : public UDPProxy {
|
| socket_.reset(new net::UDPServerSocket(net_log, net::NetLog::Source()));
|
| BuildPipe(&to_dest_pipe_, new PacketSender(this, &destination_));
|
| BuildPipe(&from_dest_pipe_, new PacketSender(this, &return_address_));
|
| - to_dest_pipe_->InitOnIOThread(base::MessageLoopProxy::current(),
|
| + to_dest_pipe_->InitOnIOThread(base::ThreadTaskRunnerHandle::Get(),
|
| &tick_clock_);
|
| - from_dest_pipe_->InitOnIOThread(base::MessageLoopProxy::current(),
|
| + from_dest_pipe_->InitOnIOThread(base::ThreadTaskRunnerHandle::Get(),
|
| &tick_clock_);
|
|
|
| VLOG(0) << "From:" << local_port_.ToString();
|
|
|