| Index: chromecast/media/cma/test/media_component_device_feeder_for_test.cc
|
| diff --git a/chromecast/media/cma/test/media_component_device_feeder_for_test.cc b/chromecast/media/cma/test/media_component_device_feeder_for_test.cc
|
| index 2c25bc242b599eee42085209b95f680346c30521..84cc3da2b0762928ae1d54d5c052ea709b00deed 100644
|
| --- a/chromecast/media/cma/test/media_component_device_feeder_for_test.cc
|
| +++ b/chromecast/media/cma/test/media_component_device_feeder_for_test.cc
|
| @@ -13,7 +13,8 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/message_loop/message_loop.h"
|
| -#include "base/message_loop/message_loop_proxy.h"
|
| +#include "base/single_thread_task_runner.h"
|
| +#include "base/thread_task_runner_handle.h"
|
| #include "base/time/time.h"
|
| #include "chromecast/media/base/decrypt_context.h"
|
| #include "chromecast/media/cma/backend/audio_pipeline_device.h"
|
| @@ -108,10 +109,9 @@ void MediaComponentDeviceFeederForTest::OnFramePushed(
|
| if (feeding_completed_)
|
| return;
|
|
|
| - base::MessageLoopProxy::current()->PostTask(
|
| - FROM_HERE,
|
| - base::Bind(&MediaComponentDeviceFeederForTest::Feed,
|
| - base::Unretained(this)));
|
| + base::ThreadTaskRunnerHandle::Get()->PostTask(
|
| + FROM_HERE, base::Bind(&MediaComponentDeviceFeederForTest::Feed,
|
| + base::Unretained(this)));
|
| }
|
|
|
| void MediaComponentDeviceFeederForTest::OnEos() {
|
|
|