Index: Source/core/rendering/FloatingObjects.cpp |
diff --git a/Source/core/rendering/FloatingObjects.cpp b/Source/core/rendering/FloatingObjects.cpp |
index f2e4989cd5904c397b0ccd85bbec43d4e06c0698..3e88963b02c2f1512ca112e95bde0fa9dbf70462 100644 |
--- a/Source/core/rendering/FloatingObjects.cpp |
+++ b/Source/core/rendering/FloatingObjects.cpp |
@@ -39,7 +39,7 @@ struct SameSizeAsFloatingObject { |
uint32_t bitfields : 8; |
}; |
-COMPILE_ASSERT(sizeof(FloatingObject) == sizeof(SameSizeAsFloatingObject), FloatingObject_should_stay_small); |
+static_assert(sizeof(FloatingObject) == sizeof(SameSizeAsFloatingObject), "FloatingObject should stay small"); |
FloatingObject::FloatingObject(RenderBox* renderer) |
: m_renderer(renderer) |