Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Unified Diff: net/dns/host_resolver_impl.cc

Issue 2886933003: Use stricter type checking in UMA_HISTOGRAM_ENUMERATION (Closed)
Patch Set: nocompile test Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/dns/host_resolver_impl.cc
diff --git a/net/dns/host_resolver_impl.cc b/net/dns/host_resolver_impl.cc
index abfddf9be9d1cde596368117131fa8337e56e988..3cf31190847717d04ff27e193d4064bde7f56d69 100644
--- a/net/dns/host_resolver_impl.cc
+++ b/net/dns/host_resolver_impl.cc
@@ -880,7 +880,7 @@ class HostResolverImpl::ProcTask
RESOLVE_SPECULATIVE_FAIL,
RESOLVE_MAX, // Bounding value.
};
- int category = RESOLVE_MAX; // Illegal value for later DCHECK only.
+ Category category = RESOLVE_MAX; // Illegal value for later DCHECK only.
base::TimeDelta duration = base::TimeTicks::Now() - start_time;
if (error == OK) {

Powered by Google App Engine
This is Rietveld 408576698