diff options
Diffstat (limited to 'chrome/browser/net/dns_host_info.cc')
-rw-r--r-- | chrome/browser/net/dns_host_info.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/net/dns_host_info.cc b/chrome/browser/net/dns_host_info.cc index 755f54d..8946f7f 100644 --- a/chrome/browser/net/dns_host_info.cc +++ b/chrome/browser/net/dns_host_info.cc @@ -104,10 +104,9 @@ void DnsHostInfo::RemoveFromQueue() { } // Make a custom linear histogram for the region from 0 to boundary. const size_t kBucketCount = 52; - static scoped_refptr<Histogram> histogram = - LinearHistogram::LinearHistogramFactoryGet("DNS.QueueRecycledUnder2", - TimeDelta(), kBoundary, kBucketCount); - histogram->SetFlags(kUmaTargetedHistogramFlag); + static scoped_refptr<Histogram> histogram = LinearHistogram::FactoryGet( + "DNS.QueueRecycledUnder2", TimeDelta(), kBoundary, kBucketCount, + Histogram::kUmaTargetedHistogramFlag); histogram->AddTime(queue_duration_); } |