Index: Source/core/style/StyleBoxData.cpp |
diff --git a/Source/core/style/StyleBoxData.cpp b/Source/core/style/StyleBoxData.cpp |
index ac8b32e8796b4a9dd896a2c79bb0ed492ea65939..502d52349c32c2219ca01453d777b3c8645e1e8b 100644 |
--- a/Source/core/style/StyleBoxData.cpp |
+++ b/Source/core/style/StyleBoxData.cpp |
@@ -23,16 +23,11 @@ |
#include "core/style/StyleBoxData.h" |
#include "core/style/ComputedStyle.h" |
+#include "wtf/SizeAssertions.h" |
namespace blink { |
-struct SameSizeAsStyleBoxData : public RefCounted<SameSizeAsStyleBoxData> { |
- Length length[7]; |
- int m_zIndex; |
- uint32_t bitfields; |
-}; |
- |
-static_assert(sizeof(StyleBoxData) == sizeof(SameSizeAsStyleBoxData), "StyleBoxData should stay small"); |
+ASSERT_SIZE(StyleBoxData, 68, 68); |
StyleBoxData::StyleBoxData() |
: m_minWidth(ComputedStyle::initialMinSize()) |