Index: Source/core/css/StylePropertySet.cpp |
diff --git a/Source/core/css/StylePropertySet.cpp b/Source/core/css/StylePropertySet.cpp |
index ac1e35df3b5798bad8cf5c766cd453245ebb10bc..9de65102e3f34efcb0467ef5e182c02e3c0e7a43 100644 |
--- a/Source/core/css/StylePropertySet.cpp |
+++ b/Source/core/css/StylePropertySet.cpp |
@@ -573,7 +573,7 @@ unsigned StylePropertySet::averageSizeInBytes() |
struct SameSizeAsStylePropertySet : public RefCountedWillBeGarbageCollectedFinalized<SameSizeAsStylePropertySet> { |
unsigned bitfield; |
}; |
-COMPILE_ASSERT(sizeof(StylePropertySet) == sizeof(SameSizeAsStylePropertySet), style_property_set_should_stay_small); |
+static_assert(sizeof(StylePropertySet) == sizeof(SameSizeAsStylePropertySet), "StylePropertySet should stay small"); |
#ifndef NDEBUG |
void StylePropertySet::showStyle() |