Index: Source/modules/crypto/CryptoKey.cpp |
diff --git a/Source/modules/crypto/CryptoKey.cpp b/Source/modules/crypto/CryptoKey.cpp |
index 4c5302b2ac5a885ddde755ab00502c5832a72718..4c2babef72784848851178bb1502133caf4cfe29 100644 |
--- a/Source/modules/crypto/CryptoKey.cpp |
+++ b/Source/modules/crypto/CryptoKey.cpp |
@@ -75,7 +75,7 @@ const KeyUsageMapping keyUsageMappings[] = { |
{ WebCryptoKeyUsageUnwrapKey, "unwrapKey" }, |
}; |
-COMPILE_ASSERT(EndOfWebCryptoKeyUsage == (1 << 7) + 1, update_keyUsageMappings); |
+static_assert(EndOfWebCryptoKeyUsage == (1 << 7) + 1, "keyUsageMappings needs to be updated"); |
const char* keyUsageToString(WebCryptoKeyUsage usage) |
{ |