Index: remoting/protocol/webrtc_connection_to_host.cc |
diff --git a/remoting/protocol/webrtc_connection_to_host.cc b/remoting/protocol/webrtc_connection_to_host.cc |
index 8ba5cb1cc526b0c0e9d8dffd6453e7ddc341502e..cadcef833055938d5e8dfb9979a820842b3df5d0 100644 |
--- a/remoting/protocol/webrtc_connection_to_host.cc |
+++ b/remoting/protocol/webrtc_connection_to_host.cc |
@@ -124,8 +124,7 @@ void WebrtcConnectionToHost::OnWebrtcTransportMediaStreamAdded( |
LOG(WARNING) |
<< "Received multiple media streams. Ignoring all except the last one."; |
} |
- video_adapter_.reset(new WebrtcVideoRendererAdapter( |
- stream, video_renderer_->GetFrameConsumer())); |
+ video_adapter_.reset(new WebrtcVideoRendererAdapter(stream, video_renderer_)); |
} |
void WebrtcConnectionToHost::OnWebrtcTransportMediaStreamRemoved( |