Index: Source/core/rendering/svg/SVGInlineTextBox.cpp |
diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
index 487b392f2ed053e9a1fda4bda3a5d8738c5653a8..ea6388ca11a937ad258c73d3b522bb4de1a0c005 100644 |
--- a/Source/core/rendering/svg/SVGInlineTextBox.cpp |
+++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp |
@@ -45,7 +45,7 @@ struct ExpectedSVGInlineTextBoxSize : public InlineTextBox { |
Vector<SVGTextFragment> vector; |
}; |
-COMPILE_ASSERT(sizeof(SVGInlineTextBox) == sizeof(ExpectedSVGInlineTextBoxSize), SVGInlineTextBox_is_not_of_expected_size); |
+static_assert(sizeof(SVGInlineTextBox) == sizeof(ExpectedSVGInlineTextBoxSize), "SVGInlineTextBox has an unexpected size"); |
SVGInlineTextBox::SVGInlineTextBox(RenderObject& object, int start, unsigned short length) |
: InlineTextBox(object, start, length) |