Index: talk/app/webrtc/webrtcsession.cc |
diff --git a/talk/app/webrtc/webrtcsession.cc b/talk/app/webrtc/webrtcsession.cc |
index 838ad93af1920689240a6b7cae7eadb42fca27b1..9102e78eeac9affa903fc5c5f8c148c3d6f231c7 100644 |
--- a/talk/app/webrtc/webrtcsession.cc |
+++ b/talk/app/webrtc/webrtcsession.cc |
@@ -2033,18 +2033,11 @@ void WebRtcSession::ReportBestConnectionState( |
// Increment the counter for IP type. |
if (local.address().family() == AF_INET) { |
- // TODO(guoweis): Remove this next line once IncrementEnumCounter |
- // implemented for PeerConnectionMetrics. |
- metrics_observer_->IncrementCounter(kBestConnections_IPv4); |
- |
metrics_observer_->IncrementEnumCounter( |
kEnumCounterAddressFamily, kBestConnections_IPv4, |
kPeerConnectionAddressFamilyCounter_Max); |
} else if (local.address().family() == AF_INET6) { |
- // TODO(guoweis): Remove this next line. |
- metrics_observer_->IncrementCounter(kBestConnections_IPv6); |
- |
metrics_observer_->IncrementEnumCounter( |
kEnumCounterAddressFamily, kBestConnections_IPv6, |
kPeerConnectionAddressFamilyCounter_Max); |