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

Unified Diff: media/mojo/services/mojo_renderer_impl.cc

Issue 728553002: Update mojo sdk to rev afb4440fd5a10cba980878c326180b7ad7960480 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « media/mojo/services/mojo_demuxer_stream_impl.cc ('k') | mojo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_renderer_impl.cc
diff --git a/media/mojo/services/mojo_renderer_impl.cc b/media/mojo/services/mojo_renderer_impl.cc
index 9ed903f0a31e40ea4fffc01cad5a26605888ed05..af96108c17f1a8b4de2f86da5618248364b917c6 100644
--- a/media/mojo/services/mojo_renderer_impl.cc
+++ b/media/mojo/services/mojo_renderer_impl.cc
@@ -61,12 +61,16 @@ void MojoRendererImpl::Initialize(
demuxer_stream_provider_->GetStream(DemuxerStream::VIDEO);
mojo::DemuxerStreamPtr audio_stream;
- if (audio)
- mojo::BindToProxy(new MojoDemuxerStreamImpl(audio), &audio_stream);
+ if (audio) {
+ mojo::BindToProxy(new MojoDemuxerStreamImpl(audio), &audio_stream)
+ ->DidConnect();
+ }
mojo::DemuxerStreamPtr video_stream;
- if (video)
- mojo::BindToProxy(new MojoDemuxerStreamImpl(video), &video_stream);
+ if (video) {
+ mojo::BindToProxy(new MojoDemuxerStreamImpl(video), &video_stream)
+ ->DidConnect();
+ }
remote_audio_renderer_->Initialize(
audio_stream.Pass(),
« no previous file with comments | « media/mojo/services/mojo_demuxer_stream_impl.cc ('k') | mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698