Index: Source/core/rendering/RenderBlockFlow.cpp |
diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp |
index 2968560c0c0d1a0041a5da6a8841d1e22ec714d0..00261d75cd5d0af75ef007a2f2ada0b62797de1d 100644 |
--- a/Source/core/rendering/RenderBlockFlow.cpp |
+++ b/Source/core/rendering/RenderBlockFlow.cpp |
@@ -2425,7 +2425,7 @@ bool RenderBlockFlow::positionNewFloats() |
m_floatingObjects->addPlacedObject(floatingObject); |
if (ShapeOutsideInfo* shapeOutside = childBox->shapeOutsideInfo()) |
- shapeOutside->setShapeSize(logicalWidthForChild(childBox), logicalHeightForChild(childBox)); |
+ shapeOutside->setReferenceBoxLogicalSize(logicalSizeForChild(childBox)); |
// If the child moved, we have to repaint it. |
if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled() |