Index: Source/core/css/CSSProperty.cpp |
diff --git a/Source/core/css/CSSProperty.cpp b/Source/core/css/CSSProperty.cpp |
index bed5ff87ceff9310c414a3b1db30b3c727964036..455b838a7a6373daa4b513bf09908f4802e1b43b 100644 |
--- a/Source/core/css/CSSProperty.cpp |
+++ b/Source/core/css/CSSProperty.cpp |
@@ -23,15 +23,11 @@ |
#include "core/StylePropertyShorthand.h" |
#include "core/style/ComputedStyleConstants.h" |
+#include "wtf/SizeAssertions.h" |
namespace blink { |
-struct SameSizeAsCSSProperty { |
- uint32_t bitfields; |
- void* value; |
-}; |
- |
-static_assert(sizeof(CSSProperty) == sizeof(SameSizeAsCSSProperty), "CSSProperty should stay small"); |
+ASSERT_SIZE(CSSProperty, 8, 16); |
CSSPropertyID StylePropertyMetadata::shorthandID() const |
{ |