Index: Source/core/rendering/RootInlineBox.cpp |
diff --git a/Source/core/rendering/RootInlineBox.cpp b/Source/core/rendering/RootInlineBox.cpp |
index 21fa17de96cf28d9d983639643b01d42f57345f1..1e1b05ca11271f850eaa50be03e520e4199dde31 100644 |
--- a/Source/core/rendering/RootInlineBox.cpp |
+++ b/Source/core/rendering/RootInlineBox.cpp |
@@ -42,7 +42,7 @@ struct SameSizeAsRootInlineBox : public InlineFlowBox { |
LayoutUnit layoutVariables[6]; |
}; |
-COMPILE_ASSERT(sizeof(RootInlineBox) == sizeof(SameSizeAsRootInlineBox), RootInlineBox_should_stay_small); |
+static_assert(sizeof(RootInlineBox) == sizeof(SameSizeAsRootInlineBox), "RootInlineBox should stay small"); |
typedef WTF::HashMap<const RootInlineBox*, EllipsisBox*> EllipsisBoxMap; |
static EllipsisBoxMap* gEllipsisBoxMap = 0; |