| Index: media/base/test_helpers.cc
|
| diff --git a/media/base/test_helpers.cc b/media/base/test_helpers.cc
|
| index 43c5cfac748f92af54ec9d2aefa0254999b75f21..cf06d44927f74462d547ae0fbd5679d83842a7c0 100644
|
| --- a/media/base/test_helpers.cc
|
| +++ b/media/base/test_helpers.cc
|
| @@ -62,14 +62,14 @@ WaitableMessageLoopEvent::~WaitableMessageLoopEvent() {}
|
|
|
| base::Closure WaitableMessageLoopEvent::GetClosure() {
|
| DCHECK_EQ(message_loop_, base::MessageLoop::current());
|
| - return BindToLoop(message_loop_->message_loop_proxy(), base::Bind(
|
| + return BindToCurrentLoop(base::Bind(
|
| &WaitableMessageLoopEvent::OnCallback, base::Unretained(this),
|
| PIPELINE_OK));
|
| }
|
|
|
| PipelineStatusCB WaitableMessageLoopEvent::GetPipelineStatusCB() {
|
| DCHECK_EQ(message_loop_, base::MessageLoop::current());
|
| - return BindToLoop(message_loop_->message_loop_proxy(), base::Bind(
|
| + return BindToCurrentLoop(base::Bind(
|
| &WaitableMessageLoopEvent::OnCallback, base::Unretained(this)));
|
| }
|
|
|
|
|