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 af96108c17f1a8b4de2f86da5618248364b917c6..9ed903f0a31e40ea4fffc01cad5a26605888ed05 100644 |
--- a/media/mojo/services/mojo_renderer_impl.cc |
+++ b/media/mojo/services/mojo_renderer_impl.cc |
@@ -61,16 +61,12 @@ |
demuxer_stream_provider_->GetStream(DemuxerStream::VIDEO); |
mojo::DemuxerStreamPtr audio_stream; |
- if (audio) { |
- mojo::BindToProxy(new MojoDemuxerStreamImpl(audio), &audio_stream) |
- ->DidConnect(); |
- } |
+ if (audio) |
+ mojo::BindToProxy(new MojoDemuxerStreamImpl(audio), &audio_stream); |
mojo::DemuxerStreamPtr video_stream; |
- if (video) { |
- mojo::BindToProxy(new MojoDemuxerStreamImpl(video), &video_stream) |
- ->DidConnect(); |
- } |
+ if (video) |
+ mojo::BindToProxy(new MojoDemuxerStreamImpl(video), &video_stream); |
remote_audio_renderer_->Initialize( |
audio_stream.Pass(), |