| Index: media/base/pipeline_impl.cc
|
| diff --git a/media/base/pipeline_impl.cc b/media/base/pipeline_impl.cc
|
| index 4b83701c5a6963dce8b28d3673183fce8c36cc5f..ac39834374cad409c77ca023419fc83ee8b5a7ed 100644
|
| --- a/media/base/pipeline_impl.cc
|
| +++ b/media/base/pipeline_impl.cc
|
| @@ -95,7 +95,8 @@ void PipelineImpl::Stop() {
|
| // TODO(alokp): It may be possible to not have to wait for StopTask by
|
| // moving the members accessed on media thread into a class/struct and
|
| // DeleteSoon the instance on the media thread.
|
| - base::WaitableEvent waiter(false, false);
|
| + base::WaitableEvent waiter(base::WaitableEvent::ResetPolicy::AUTOMATIC,
|
| + base::WaitableEvent::InitialState::NOT_SIGNALED);
|
| base::Closure stop_cb =
|
| base::Bind(&base::WaitableEvent::Signal, base::Unretained(&waiter));
|
| // If posting the task fails or the posted task fails to run,
|
|
|