Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h |
index 1a9be398ceec667a707fac934b5871cba34d7c26..3608f97bd12acfecb88c28985f05aa4efe096733 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_settings.h |
@@ -42,8 +42,9 @@ const unsigned int kNumDaysInHistory = 60; |
// The number of days of bandwidth usage statistics that are presented. |
const unsigned int kNumDaysInHistorySummary = 30; |
-COMPILE_ASSERT(kNumDaysInHistorySummary <= kNumDaysInHistory, |
- DataReductionProxySettings_summary_too_long); |
+static_assert(kNumDaysInHistorySummary <= kNumDaysInHistory, |
+ "kNumDaysInHistorySummary should be no larger than " |
+ "kNumDaysInHistory"); |
// Values of the UMA DataReductionProxy.StartupState histogram. |
// This enum must remain synchronized with DataReductionProxyStartupState |