Index: Source/core/css/StyleRule.cpp |
diff --git a/Source/core/css/StyleRule.cpp b/Source/core/css/StyleRule.cpp |
index 3309ee16054331d162c2d1c7614598a8af0b7893..57884500a4f2ed2e17838c3a56be4fce1c6ff4e4 100644 |
--- a/Source/core/css/StyleRule.cpp |
+++ b/Source/core/css/StyleRule.cpp |
@@ -33,14 +33,11 @@ |
#include "core/css/StyleRuleImport.h" |
#include "core/css/StyleRuleKeyframe.h" |
#include "core/css/StyleRuleNamespace.h" |
+#include "wtf/SizeAssertions.h" |
namespace blink { |
-struct SameSizeAsStyleRuleBase : public RefCountedWillBeGarbageCollectedFinalized<SameSizeAsStyleRuleBase> { |
- unsigned bitfields; |
-}; |
- |
-static_assert(sizeof(StyleRuleBase) <= sizeof(SameSizeAsStyleRuleBase), "StyleRuleBase should stay small"); |
+ASSERT_SIZE(StyleRuleBase, 8, 8); |
PassRefPtrWillBeRawPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* parentSheet) const |
{ |