Index: net/http/http_security_headers.cc |
diff --git a/net/http/http_security_headers.cc b/net/http/http_security_headers.cc |
index 8d0c1465307f8adb5da5eb61907e2a0b8b2d9da6..17777bec3c90508da0c277c0febb85ddd35c1c06 100644 |
--- a/net/http/http_security_headers.cc |
+++ b/net/http/http_security_headers.cc |
@@ -14,7 +14,7 @@ namespace net { |
namespace { |
-COMPILE_ASSERT(kMaxHSTSAgeSecs <= kuint32max, kMaxHSTSAgeSecsTooLarge); |
+static_assert(kMaxHSTSAgeSecs <= kuint32max, "kMaxHSTSAgeSecs too large"); |
// MaxAgeToInt converts a string representation of a "whole number" of |
// seconds into a uint32. The string may contain an arbitrarily large number, |