Index: Source/core/rendering/InlineBox.cpp |
diff --git a/Source/core/rendering/InlineBox.cpp b/Source/core/rendering/InlineBox.cpp |
index f6341b137d30ce6a8d46545e617ed9c9dde8fb6c..b78beade13e8ab48c55c123292ee2fe54f37c78e 100644 |
--- a/Source/core/rendering/InlineBox.cpp |
+++ b/Source/core/rendering/InlineBox.cpp |
@@ -46,7 +46,7 @@ struct SameSizeAsInlineBox { |
#endif |
}; |
-COMPILE_ASSERT(sizeof(InlineBox) == sizeof(SameSizeAsInlineBox), InlineBox_size_guard); |
+static_assert(sizeof(InlineBox) == sizeof(SameSizeAsInlineBox), "InlineBox should stay small"); |
#if ENABLE(ASSERT) |