| Index: media/mojo/common/mojo_decoder_buffer_converter.cc
|
| diff --git a/media/mojo/common/mojo_decoder_buffer_converter.cc b/media/mojo/common/mojo_decoder_buffer_converter.cc
|
| index 32080d3af4458ff28707a811c51bec9e38035b8f..2b995e8f85e15b7e399b8c7047898d966767ffd4 100644
|
| --- a/media/mojo/common/mojo_decoder_buffer_converter.cc
|
| +++ b/media/mojo/common/mojo_decoder_buffer_converter.cc
|
| @@ -64,7 +64,7 @@ std::unique_ptr<MojoDecoderBufferReader> MojoDecoderBufferReader::Create(
|
| MojoDecoderBufferReader::MojoDecoderBufferReader(
|
| mojo::ScopedDataPipeConsumerHandle consumer_handle)
|
| : consumer_handle_(std::move(consumer_handle)),
|
| - pipe_watcher_(FROM_HERE),
|
| + pipe_watcher_(FROM_HERE, mojo::Watcher::ArmingPolicy::AUTOMATIC),
|
| bytes_read_(0) {
|
| DVLOG(1) << __func__;
|
|
|
| @@ -186,7 +186,7 @@ std::unique_ptr<MojoDecoderBufferWriter> MojoDecoderBufferWriter::Create(
|
| MojoDecoderBufferWriter::MojoDecoderBufferWriter(
|
| mojo::ScopedDataPipeProducerHandle producer_handle)
|
| : producer_handle_(std::move(producer_handle)),
|
| - pipe_watcher_(FROM_HERE),
|
| + pipe_watcher_(FROM_HERE, mojo::Watcher::ArmingPolicy::AUTOMATIC),
|
| bytes_written_(0) {
|
| DVLOG(1) << __func__;
|
|
|
|
|