Index: media/remoting/demuxer_stream_adapter.cc |
diff --git a/media/remoting/demuxer_stream_adapter.cc b/media/remoting/demuxer_stream_adapter.cc |
index de8bfd0024d5ced496a58e89da63e9be02d792c5..23ec4f231c2f32c53c9ba72fea1b591666080b8a 100644 |
--- a/media/remoting/demuxer_stream_adapter.cc |
+++ b/media/remoting/demuxer_stream_adapter.cc |
@@ -23,13 +23,7 @@ namespace remoting { |
mojo::DataPipe* DemuxerStreamAdapter::CreateDataPipe() { |
// Capacity in bytes for Mojo data pipe. |
constexpr int kMojoDataPipeCapacityInBytes = 512 * 1024; |
- |
- MojoCreateDataPipeOptions options; |
- options.struct_size = sizeof(MojoCreateDataPipeOptions); |
- options.flags = MOJO_WRITE_DATA_FLAG_NONE; |
- options.element_num_bytes = 1; |
- options.capacity_num_bytes = kMojoDataPipeCapacityInBytes; |
- return new mojo::DataPipe(options); |
+ return new mojo::DataPipe(kMojoDataPipeCapacityInBytes); |
} |
DemuxerStreamAdapter::DemuxerStreamAdapter( |