Index: webrtc/p2p/base/dtlstransportchannel.cc |
diff --git a/webrtc/p2p/base/dtlstransportchannel.cc b/webrtc/p2p/base/dtlstransportchannel.cc |
index 1e3df13493fe4c2a2208c724fb69d1207e0748c6..e34dfbd3e2a876240677f90f3297faabe7db2360 100644 |
--- a/webrtc/p2p/base/dtlstransportchannel.cc |
+++ b/webrtc/p2p/base/dtlstransportchannel.cc |
@@ -129,8 +129,8 @@ DtlsTransportChannelWrapper::DtlsTransportChannelWrapper( |
&DtlsTransportChannelWrapper::OnRouteChange); |
channel_->SignalSelectedCandidatePairChanged.connect( |
this, &DtlsTransportChannelWrapper::OnSelectedCandidatePairChanged); |
- channel_->SignalConnectionRemoved.connect(this, |
- &DtlsTransportChannelWrapper::OnConnectionRemoved); |
+ channel_->SignalStateChanged.connect( |
+ this, &DtlsTransportChannelWrapper::OnChannelStateChanged); |
channel_->SignalReceivingState.connect(this, |
&DtlsTransportChannelWrapper::OnReceivingState); |
} |
@@ -671,10 +671,10 @@ void DtlsTransportChannelWrapper::OnSelectedCandidatePairChanged( |
last_sent_packet_id); |
} |
-void DtlsTransportChannelWrapper::OnConnectionRemoved( |
+void DtlsTransportChannelWrapper::OnChannelStateChanged( |
TransportChannelImpl* channel) { |
ASSERT(channel == channel_); |
- SignalConnectionRemoved(this); |
+ SignalStateChanged(this); |
} |
void DtlsTransportChannelWrapper::Reconnect() { |