Index: Source/core/css/RuleSet.h |
diff --git a/Source/core/css/RuleSet.h b/Source/core/css/RuleSet.h |
index e3284ceb328b3422298565223d6487098af2a16e..440555896942db65f8b656a43f4694054d0340a9 100644 |
--- a/Source/core/css/RuleSet.h |
+++ b/Source/core/css/RuleSet.h |
@@ -120,7 +120,7 @@ struct SameSizeAsRuleData { |
unsigned d[4]; |
}; |
-COMPILE_ASSERT(sizeof(RuleData) == sizeof(SameSizeAsRuleData), RuleData_should_stay_small); |
+static_assert(sizeof(RuleData) == sizeof(SameSizeAsRuleData), "RuleData should stay small"); |
class RuleSet : public NoBaseWillBeGarbageCollectedFinalized<RuleSet> { |
WTF_MAKE_NONCOPYABLE(RuleSet); |