Index: webrtc/p2p/base/transportcontroller.cc |
diff --git a/webrtc/p2p/base/transportcontroller.cc b/webrtc/p2p/base/transportcontroller.cc |
index a961541dc3e9e4dd1ac2b1655d126f1b1eee7566..f40e5a3c4108fe6ee49d4873b5012aac62e28539 100644 |
--- a/webrtc/p2p/base/transportcontroller.cc |
+++ b/webrtc/p2p/base/transportcontroller.cc |
@@ -177,8 +177,8 @@ TransportChannel* TransportController::CreateTransportChannel_n( |
this, &TransportController::OnChannelCandidatesRemoved_n); |
channel->SignalRoleConflict.connect( |
this, &TransportController::OnChannelRoleConflict_n); |
- channel->SignalConnectionRemoved.connect( |
- this, &TransportController::OnChannelConnectionRemoved_n); |
+ channel->SignalStateChanged.connect( |
+ this, &TransportController::OnChannelStateChanged_n); |
channels_.insert(channels_.end(), RefCountedChannel(channel))->AddRef(); |
// Adding a channel could cause aggregate state to change. |
UpdateAggregateStates_n(); |
@@ -592,12 +592,12 @@ void TransportController::OnChannelRoleConflict_n( |
} |
} |
-void TransportController::OnChannelConnectionRemoved_n( |
+void TransportController::OnChannelStateChanged_n( |
TransportChannelImpl* channel) { |
RTC_DCHECK(network_thread_->IsCurrent()); |
LOG(LS_INFO) << channel->transport_name() << " TransportChannel " |
<< channel->component() |
- << " connection removed. Check if state is complete."; |
+ << " state changed. Check if state is complete."; |
UpdateAggregateStates_n(); |
} |