Index: webrtc/p2p/quic/quictransportchannel.cc |
diff --git a/webrtc/p2p/quic/quictransportchannel.cc b/webrtc/p2p/quic/quictransportchannel.cc |
index 968faee7bd1ba4b82a9ebb52cb5aee24f806b036..6aafa9e3dbd293477c4aa78aee5ba888841ee344 100644 |
--- a/webrtc/p2p/quic/quictransportchannel.cc |
+++ b/webrtc/p2p/quic/quictransportchannel.cc |
@@ -145,8 +145,8 @@ QuicTransportChannel::QuicTransportChannel(TransportChannelImpl* channel) |
&QuicTransportChannel::OnRouteChange); |
channel_->SignalSelectedCandidatePairChanged.connect( |
this, &QuicTransportChannel::OnSelectedCandidatePairChanged); |
- channel_->SignalConnectionRemoved.connect( |
- this, &QuicTransportChannel::OnConnectionRemoved); |
+ channel_->SignalStateChanged.connect( |
+ this, &QuicTransportChannel::OnChannelStateChanged); |
channel_->SignalReceivingState.connect( |
this, &QuicTransportChannel::OnReceivingState); |
@@ -401,9 +401,10 @@ void QuicTransportChannel::OnSelectedCandidatePairChanged( |
last_sent_packet_id); |
} |
-void QuicTransportChannel::OnConnectionRemoved(TransportChannelImpl* channel) { |
+void QuicTransportChannel::OnChannelStateChanged( |
+ TransportChannelImpl* channel) { |
ASSERT(channel == channel_.get()); |
- SignalConnectionRemoved(this); |
+ SignalStateChanged(this); |
} |
bool QuicTransportChannel::MaybeStartQuic() { |