Index: Source/core/layout/line/LineWidth.cpp |
diff --git a/Source/core/layout/line/LineWidth.cpp b/Source/core/layout/line/LineWidth.cpp |
index 2fe9cb81a3dd2a1e39ee11855b3217795e6a4942..20ec563395213651a35838c4a862edc6f655dd66 100644 |
--- a/Source/core/layout/line/LineWidth.cpp |
+++ b/Source/core/layout/line/LineWidth.cpp |
@@ -67,7 +67,7 @@ void LineWidth::shrinkAvailableWidthForNewFloatIfNeeded(FloatingObject* newFloat |
return; |
ShapeOutsideDeltas shapeDeltas; |
- if (ShapeOutsideInfo* shapeOutsideInfo = newFloat->renderer()->shapeOutsideInfo()) { |
+ if (ShapeOutsideInfo* shapeOutsideInfo = newFloat->layoutObject()->shapeOutsideInfo()) { |
LayoutUnit lineHeight = m_block.lineHeight(m_isFirstLine, m_block.isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); |
shapeDeltas = shapeOutsideInfo->computeDeltasForContainingBlockLine(m_block, *newFloat, m_block.logicalHeight(), lineHeight); |
} |
@@ -174,7 +174,7 @@ void LineWidth::fitBelowFloats(bool isFirstLine) |
float newLineRight = m_right; |
FloatingObject* lastFloatFromPreviousLine = (m_block.containsFloats() ? m_block.m_floatingObjects->set().last().get() : 0); |
- if (lastFloatFromPreviousLine && lastFloatFromPreviousLine->renderer()->shapeOutsideInfo()) |
+ if (lastFloatFromPreviousLine && lastFloatFromPreviousLine->layoutObject()->shapeOutsideInfo()) |
return wrapNextToShapeOutside(isFirstLine); |
while (true) { |