Index: Source/bindings/core/v8/ScriptDebugServer.cpp |
diff --git a/Source/bindings/core/v8/ScriptDebugServer.cpp b/Source/bindings/core/v8/ScriptDebugServer.cpp |
index 88dcac79018712a1f614b7f1345bc6e8ad68e153..83d63a46c7ce9657d2485772e73a532cd1f34115 100644 |
--- a/Source/bindings/core/v8/ScriptDebugServer.cpp |
+++ b/Source/bindings/core/v8/ScriptDebugServer.cpp |
@@ -352,7 +352,7 @@ PassRefPtrWillBeRawPtr<JavaScriptCallFrame> ScriptDebugServer::toJavaScriptCallF |
PassRefPtrWillBeRawPtr<JavaScriptCallFrame> ScriptDebugServer::wrapCallFrames(int maximumLimit, ScopeInfoDetails scopeDetails) |
{ |
const int scopeBits = 2; |
- COMPILE_ASSERT(NoScopes < (1 << scopeBits), not_enough_bits_to_encode_ScopeInfoDetails); |
+ static_assert(NoScopes < (1 << scopeBits), "there must be enough bits to encode ScopeInfoDetails"); |
ASSERT(maximumLimit >= 0); |
int data = (maximumLimit << scopeBits) | scopeDetails; |