Index: webrtc/p2p/base/p2ptransportchannel.cc |
diff --git a/webrtc/p2p/base/p2ptransportchannel.cc b/webrtc/p2p/base/p2ptransportchannel.cc |
index e0428d638312b464ce9bc0fc72fdd3f3bfd669b5..2070cf54beeb83aab2f0912b9ec27966e0223619 100644 |
--- a/webrtc/p2p/base/p2ptransportchannel.cc |
+++ b/webrtc/p2p/base/p2ptransportchannel.cc |
@@ -1165,6 +1165,8 @@ void P2PTransportChannel::SwitchBestConnectionTo(Connection* conn) { |
} else { |
LOG_J(LS_INFO, this) << "No best connection"; |
} |
+ // TODO(honghaiz): rename best_connection_ with selected_connection_. |
+ SignalSelectedConnectionChanged(this, best_connection_); |
} |
// Warning: UpdateState should eventually be called whenever a connection |