Index: Source/core/rendering/RenderText.cpp |
diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp |
index ba33b034dc7e04166d001e59b69e45e42fa9bc43..1acc6fef0606a9bf48ee50c93088b17e70923477 100644 |
--- a/Source/core/rendering/RenderText.cpp |
+++ b/Source/core/rendering/RenderText.cpp |
@@ -63,7 +63,7 @@ struct SameSizeAsRenderText : public RenderObject { |
void* pointers[2]; |
}; |
-COMPILE_ASSERT(sizeof(RenderText) == sizeof(SameSizeAsRenderText), RenderText_should_stay_small); |
+static_assert(sizeof(RenderText) == sizeof(SameSizeAsRenderText), "RenderText should stay small"); |
class SecureTextTimer; |
typedef HashMap<RenderText*, SecureTextTimer*> SecureTextTimerMap; |