summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/url_info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/url_info.cc')
-rw-r--r--chrome/browser/net/url_info.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/net/url_info.cc b/chrome/browser/net/url_info.cc
index 4069a2a..48ac54c 100644
--- a/chrome/browser/net/url_info.cc
+++ b/chrome/browser/net/url_info.cc
@@ -169,9 +169,11 @@ void UrlInfo::SetNoSuchNameState() {
DCHECK(ASSIGNED == state_);
state_ = NO_SUCH_NAME;
resolve_duration_ = GetDuration();
+#ifndef NDEBUG
if (MaxNonNetworkDnsLookupDuration() <= resolve_duration_) {
- DHISTOGRAM_TIMES("DNS.PrefetchNotFoundName", resolve_duration_);
+ LOCAL_HISTOGRAM_TIMES("DNS.PrefetchNotFoundName", resolve_duration_);
}
+#endif
sequence_number_ = sequence_counter++;
DLogResultsStats("DNS PrefetchNotFound");
}