Index: Source/core/rendering/style/StyleRareInheritedData.cpp |
diff --git a/Source/core/rendering/style/StyleRareInheritedData.cpp b/Source/core/rendering/style/StyleRareInheritedData.cpp |
index 4f99a3ab80658b4f81398e95732febbce387aa57..3b8715321784e4449e9c9414cc18b2667412c507 100644 |
--- a/Source/core/rendering/style/StyleRareInheritedData.cpp |
+++ b/Source/core/rendering/style/StyleRareInheritedData.cpp |
@@ -51,7 +51,7 @@ struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI |
Color touchColors; |
}; |
-COMPILE_ASSERT(sizeof(StyleRareInheritedData) == sizeof(SameSizeAsStyleRareInheritedData), StyleRareInheritedData_should_bit_pack); |
+static_assert(sizeof(StyleRareInheritedData) == sizeof(SameSizeAsStyleRareInheritedData), "StyleRareInheritedData should stay small"); |
StyleRareInheritedData::StyleRareInheritedData() |
: listStyleImage(RenderStyle::initialListStyleImage()) |