Index: Source/core/html/parser/CompactHTMLToken.cpp |
diff --git a/Source/core/html/parser/CompactHTMLToken.cpp b/Source/core/html/parser/CompactHTMLToken.cpp |
index ab999d0aed8d1780fc99be938279a8dd84d752a0..01940175059845aea2f90bd49a7de6947905b2ba 100644 |
--- a/Source/core/html/parser/CompactHTMLToken.cpp |
+++ b/Source/core/html/parser/CompactHTMLToken.cpp |
@@ -38,7 +38,7 @@ struct SameSizeAsCompactHTMLToken { |
TextPosition textPosition; |
}; |
-COMPILE_ASSERT(sizeof(CompactHTMLToken) == sizeof(SameSizeAsCompactHTMLToken), CompactHTMLToken_should_stay_small); |
+static_assert(sizeof(CompactHTMLToken) == sizeof(SameSizeAsCompactHTMLToken), "CompactHTMLToken should stay small"); |
CompactHTMLToken::CompactHTMLToken(const HTMLToken* token, const TextPosition& textPosition) |
: m_type(token->type()) |