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