| Index: remoting/protocol/ice_connection_to_client.cc
|
| diff --git a/remoting/protocol/ice_connection_to_client.cc b/remoting/protocol/ice_connection_to_client.cc
|
| index f2780c22908d15151aeb68dc3c294685c33d3c5f..90f9b1acdca011c67fafe942ad716feb1a7f84cf 100644
|
| --- a/remoting/protocol/ice_connection_to_client.cc
|
| +++ b/remoting/protocol/ice_connection_to_client.cc
|
| @@ -189,7 +189,6 @@ void IceConnectionToClient::OnIceTransportRouteChange(
|
|
|
| void IceConnectionToClient::OnIceTransportError(ErrorCode error) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| -
|
| Disconnect(error);
|
| }
|
|
|
| @@ -202,8 +201,8 @@ void IceConnectionToClient::OnChannelInitialized(
|
|
|
| void IceConnectionToClient::OnChannelClosed(
|
| ChannelDispatcherBase* channel_dispatcher) {
|
| - // ICE transport doesn't close channels dynamically.
|
| - NOTREACHED();
|
| + DCHECK(thread_checker_.CalledOnValidThread());
|
| + Disconnect(OK);
|
| }
|
|
|
| void IceConnectionToClient::NotifyIfChannelsReady() {
|
|
|