Removed sending metrics from PeerConnection about IPv4 and IPv6.
Reasons: 1: There is memcheck failure.
2: DoInitialize is called before RegisterUMAObserver,
which means this will be never triggered in real cases.
BUG=3326
R=jiayl@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/16499004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6097 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -359,12 +359,6 @@ bool PeerConnection::DoInitialize(
|
||||
portallocator_flags |= cricket::PORTALLOCATOR_ENABLE_IPV6;
|
||||
}
|
||||
|
||||
if (value && uma_observer_) {
|
||||
uma_observer_->IncrementCounter(kPeerConnection_IPv6);
|
||||
} else if (!value && uma_observer_) {
|
||||
uma_observer_->IncrementCounter(kPeerConnection_IPv4);
|
||||
}
|
||||
|
||||
port_allocator_->set_flags(portallocator_flags);
|
||||
// No step delay is used while allocating ports.
|
||||
port_allocator_->set_step_delay(cricket::kMinimumStepDelay);
|
||||
|
||||
Reference in New Issue
Block a user