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 c4deea51c3ff4fd401b731a36607cccd51dedf9a..eda4347af7572980c0c17ceaecb212d35086c6cf 100644 |
--- a/remoting/protocol/webrtc_connection_to_host.cc |
+++ b/remoting/protocol/webrtc_connection_to_host.cc |
@@ -104,7 +104,9 @@ void WebrtcConnectionToHost::OnSessionStateChange(Session::State state) { |
void WebrtcConnectionToHost::OnWebrtcTransportConnecting() { |
event_dispatcher_.reset(new ClientEventDispatcher()); |
- event_dispatcher_->Init(transport_->outgoing_channel_factory(), this); |
+ event_dispatcher_->Init( |
+ transport_->CreateOutgoingChannel(event_dispatcher_->channel_name()), |
+ this); |
} |
void WebrtcConnectionToHost::OnWebrtcTransportConnected() {} |