Index: Source/core/css/CSSProperty.cpp |
diff --git a/Source/core/css/CSSProperty.cpp b/Source/core/css/CSSProperty.cpp |
index c79f62844c585e4515bbe6ff50a46fe5e9549860..2ab10966fa4c5e8439b63f788e97dd38ff3a167c 100644 |
--- a/Source/core/css/CSSProperty.cpp |
+++ b/Source/core/css/CSSProperty.cpp |
@@ -32,7 +32,7 @@ struct SameSizeAsCSSProperty { |
void* value; |
}; |
-COMPILE_ASSERT(sizeof(CSSProperty) == sizeof(SameSizeAsCSSProperty), CSSProperty_should_stay_small); |
+static_assert(sizeof(CSSProperty) == sizeof(SameSizeAsCSSProperty), "CSSProperty should stay small"); |
CSSPropertyID StylePropertyMetadata::shorthandID() const |
{ |