Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: webrtc/base/network.cc

Issue 2054583002: Do not reconnect the network change signal each time the network manager is started (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/network.cc
diff --git a/webrtc/base/network.cc b/webrtc/base/network.cc
index 152bcdf671f38d7ac0e0a1a12b24300bab5d64fe..06c912b574b70bbac69269d96d09ca65efa36b7a 100644
--- a/webrtc/base/network.cc
+++ b/webrtc/base/network.cc
@@ -761,10 +761,9 @@ void BasicNetworkManager::StartNetworkMonitor() {
if (!network_monitor_) {
return;
}
- }
-
- network_monitor_->SignalNetworksChanged.connect(
+ network_monitor_->SignalNetworksChanged.connect(
this, &BasicNetworkManager::OnNetworksChanged);
honghaiz3 2016/06/09 16:18:41 indent this line by 4 spaces from the previous one
+ }
network_monitor_->Start();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698