Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1463)

Unified Diff: media/remoting/demuxer_stream_adapter.cc

Issue 2725133002: Mojo: Armed Watchers (Closed)
Patch Set: . Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/remoting/demuxer_stream_adapter.cc
diff --git a/media/remoting/demuxer_stream_adapter.cc b/media/remoting/demuxer_stream_adapter.cc
index c12ee005f6a702ea8f9d6dec3aee3c0c22e8287b..dff3cac3f24b26b49f002c91d7719007eb710e89 100644
--- a/media/remoting/demuxer_stream_adapter.cc
+++ b/media/remoting/demuxer_stream_adapter.cc
@@ -57,7 +57,7 @@ DemuxerStreamAdapter::DemuxerStreamAdapter(
pending_flush_(false),
current_pending_frame_offset_(0),
pending_frame_is_eos_(false),
- write_watcher_(FROM_HERE),
+ write_watcher_(FROM_HERE, mojo::Watcher::ArmingPolicy::AUTOMATIC),
media_status_(DemuxerStream::kOk),
producer_handle_(std::move(producer_handle)),
bytes_written_to_pipe_(0),

Powered by Google App Engine
This is Rietveld 408576698