Index: net/quic/crypto/crypto_handshake.h |
diff --git a/net/quic/crypto/crypto_handshake.h b/net/quic/crypto/crypto_handshake.h |
index bfd2f347fd854d7a636241ad23556fbddce63b8a..8b5e314d519f855f9e02d51052502a3789f2f326 100644 |
--- a/net/quic/crypto/crypto_handshake.h |
+++ b/net/quic/crypto/crypto_handshake.h |
@@ -80,7 +80,7 @@ enum HandshakeFailureReason { |
// These errors will be packed into an uint32 and we don't want to set the most |
// significant bit, which may be misinterpreted as the sign bit. |
-COMPILE_ASSERT(MAX_FAILURE_REASON <= 32, failure_reason_out_of_sync); |
+static_assert(MAX_FAILURE_REASON <= 32, "failure reason out of sync"); |
// A CrypterPair contains the encrypter and decrypter for an encryption level. |
struct NET_EXPORT_PRIVATE CrypterPair { |