Index: chrome/browser/net/dns_host_info.cc |
=================================================================== |
--- chrome/browser/net/dns_host_info.cc (revision 35277) |
+++ chrome/browser/net/dns_host_info.cc (working copy) |
@@ -104,10 +104,9 @@ |
} |
// 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_); |
} |