Index: net/quic/crypto/crypto_handshake_message.cc |
diff --git a/net/quic/crypto/crypto_handshake_message.cc b/net/quic/crypto/crypto_handshake_message.cc |
index 6ed80145526e3b1c490da88396750096a2a056f4..89f410548009f5bdc187a7860fbb80288ca7d31a 100644 |
--- a/net/quic/crypto/crypto_handshake_message.cc |
+++ b/net/quic/crypto/crypto_handshake_message.cc |
@@ -65,8 +65,8 @@ void CryptoHandshakeMessage::MarkDirty() { |
void CryptoHandshakeMessage::SetTaglist(QuicTag tag, ...) { |
// Warning, if sizeof(QuicTag) > sizeof(int) then this function will break |
// because the terminating 0 will only be promoted to int. |
- COMPILE_ASSERT(sizeof(QuicTag) <= sizeof(int), |
- crypto_tag_may_not_be_larger_than_int_or_varargs_will_break); |
+ static_assert(sizeof(QuicTag) <= sizeof(int), |
+ "crypto tag may not be larger than int or varargs will break"); |
vector<QuicTag> tags; |
va_list ap; |