| Index: media/cast/test/utility/tap_proxy.cc
|
| diff --git a/media/cast/test/utility/tap_proxy.cc b/media/cast/test/utility/tap_proxy.cc
|
| index 6aca4f3fb715cb63e0d0dfa2a8357c957de12273..c8ad72db248ba09704df703ea686ba5ef4354fcb 100644
|
| --- a/media/cast/test/utility/tap_proxy.cc
|
| +++ b/media/cast/test/utility/tap_proxy.cc
|
| @@ -23,7 +23,9 @@
|
| #include "base/command_line.h"
|
| #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 "media/cast/test/utility/udp_proxy.h"
|
| @@ -81,7 +83,7 @@ class QueueManager : public base::MessageLoopForIO::Watcher {
|
| } else {
|
| packet_pipe_ = tmp.Pass();
|
| }
|
| - packet_pipe_->InitOnIOThread(base::MessageLoopProxy::current(),
|
| + packet_pipe_->InitOnIOThread(base::ThreadTaskRunnerHandle::Get(),
|
| &tick_clock_);
|
| }
|
|
|
| @@ -209,7 +211,7 @@ void CheckByteCounters() {
|
|
|
| last_printout = now;
|
| }
|
| - base::MessageLoopProxy::current()->PostDelayedTask(
|
| + base::ThreadTaskRunnerHandle::Get()->PostDelayedTask(
|
| FROM_HERE,
|
| base::Bind(&CheckByteCounters),
|
| base::TimeDelta::FromMilliseconds(100));
|
|
|