Index: chrome/browser/net/url_info.cc |
diff --git a/chrome/browser/net/url_info.cc b/chrome/browser/net/url_info.cc |
index 4069a2ac1a39cfa6e40223aee862f55d01573ddf..48ac54ca5662be58400c3b6d56e4c7557f6526ed 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"); |
} |