Index: webrtc/p2p/quic/quictransportchannel.cc |
diff --git a/webrtc/p2p/quic/quictransportchannel.cc b/webrtc/p2p/quic/quictransportchannel.cc |
index 968faee7bd1ba4b82a9ebb52cb5aee24f806b036..c3c77b7cec41c276866b68d37b2faf8a18b12a17 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_->SignalChannelStateChanged.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); |
+ SignalChannelStateChanged(this); |
} |
bool QuicTransportChannel::MaybeStartQuic() { |