Index: Source/core/css/StyleRule.cpp |
diff --git a/Source/core/css/StyleRule.cpp b/Source/core/css/StyleRule.cpp |
index 6cb3efe2a9fe5e1ac1a2612bccdde26ad9b0ece4..268fe770b8053e85f1bc06807e2cf9f3fa45bd05 100644 |
--- a/Source/core/css/StyleRule.cpp |
+++ b/Source/core/css/StyleRule.cpp |
@@ -40,7 +40,7 @@ struct SameSizeAsStyleRuleBase : public RefCountedWillBeGarbageCollectedFinalize |
unsigned bitfields; |
}; |
-COMPILE_ASSERT(sizeof(StyleRuleBase) <= sizeof(SameSizeAsStyleRuleBase), StyleRuleBase_should_stay_small); |
+static_assert(sizeof(StyleRuleBase) <= sizeof(SameSizeAsStyleRuleBase), "StyleRuleBase should stay small"); |
PassRefPtrWillBeRawPtr<CSSRule> StyleRuleBase::createCSSOMWrapper(CSSStyleSheet* parentSheet) const |
{ |