Index: net/dns/dns_session.cc |
diff --git a/net/dns/dns_session.cc b/net/dns/dns_session.cc |
index 0b6292e8e36c67f4a53adb7c34572c8111cc8ebe..47dcefa1c579c3aa0f1e73bbd7a7b13d1d938ffb 100644 |
--- a/net/dns/dns_session.cc |
+++ b/net/dns/dns_session.cc |
@@ -272,8 +272,8 @@ base::TimeDelta DnsSession::NextTimeoutFromHistogram(unsigned server_index, |
int attempt) { |
DCHECK_LT(server_index, server_stats_.size()); |
- COMPILE_ASSERT(std::numeric_limits<base::HistogramBase::Count>::is_signed, |
- histogram_base_count_assumed_to_be_signed); |
+ static_assert(std::numeric_limits<base::HistogramBase::Count>::is_signed, |
+ "histogram base count assumed to be signed"); |
// Use fixed percentile of observed samples. |
const base::SampleVector& samples = |