Index: webrtc/p2p/base/port.cc |
diff --git a/webrtc/p2p/base/port.cc b/webrtc/p2p/base/port.cc |
index 71a9e6b2b14480710f4a86e5b0a61ffdaf16d149..903f13d7a6ad360187efeb81f0a745d53c225e94 100644 |
--- a/webrtc/p2p/base/port.cc |
+++ b/webrtc/p2p/base/port.cc |
@@ -195,7 +195,6 @@ void Port::Construct() { |
ice_username_fragment_ = rtc::CreateRandomString(ICE_UFRAG_LENGTH); |
password_ = rtc::CreateRandomString(ICE_PWD_LENGTH); |
} |
- network_->SignalInactive.connect(this, &Port::OnNetworkInactive); |
network_->SignalTypeChanged.connect(this, &Port::OnNetworkTypeChanged); |
network_cost_ = network_->GetCost(); |
@@ -652,11 +651,6 @@ void Port::OnMessage(rtc::Message *pmsg) { |
} |
} |
-void Port::OnNetworkInactive(const rtc::Network* network) { |
- ASSERT(network == network_); |
- SignalNetworkInactive(this); |
-} |
- |
void Port::OnNetworkTypeChanged(const rtc::Network* network) { |
ASSERT(network == network_); |