Index: Source/core/rendering/style/StyleBoxData.cpp |
diff --git a/Source/core/rendering/style/StyleBoxData.cpp b/Source/core/rendering/style/StyleBoxData.cpp |
index 66ae1b6a2c87c9037021d42b013fd68449d6ac74..a48fb0530526b7152a96e3d43bbd441d1249cc38 100644 |
--- a/Source/core/rendering/style/StyleBoxData.cpp |
+++ b/Source/core/rendering/style/StyleBoxData.cpp |
@@ -32,7 +32,7 @@ struct SameSizeAsStyleBoxData : public RefCounted<SameSizeAsStyleBoxData> { |
uint32_t bitfields; |
}; |
-COMPILE_ASSERT(sizeof(StyleBoxData) == sizeof(SameSizeAsStyleBoxData), StyleBoxData_should_not_grow); |
+static_assert(sizeof(StyleBoxData) == sizeof(SameSizeAsStyleBoxData), "StyleBoxData should stay small"); |
StyleBoxData::StyleBoxData() |
: m_minWidth(RenderStyle::initialMinSize()) |