Index: Source/core/css/CSSBasicShapes.cpp |
diff --git a/Source/core/css/CSSBasicShapes.cpp b/Source/core/css/CSSBasicShapes.cpp |
index d49bcad450d327d573bf09d72360de2f10eb3979..af6fd03089a5d377e0ecbbc34a9364e377eadfd6 100644 |
--- a/Source/core/css/CSSBasicShapes.cpp |
+++ b/Source/core/css/CSSBasicShapes.cpp |
@@ -235,7 +235,7 @@ static String buildPolygonString(const WindRule& windRule, const Vector<String>& |
const char evenOddOpening[] = "polygon(evenodd, "; |
const char nonZeroOpening[] = "polygon("; |
const char commaSeparator[] = ", "; |
- COMPILE_ASSERT(sizeof(evenOddOpening) > sizeof(nonZeroOpening), polygon_string_openings_have_same_length); |
+ static_assert(sizeof(evenOddOpening) > sizeof(nonZeroOpening), "polygon string openings should be the same length"); |
// Compute the required capacity in advance to reduce allocations. |
size_t length = sizeof(evenOddOpening) - 1; |