Index: Source/core/rendering/line/BreakingContextInlineHeaders.h |
diff --git a/Source/core/rendering/line/BreakingContextInlineHeaders.h b/Source/core/rendering/line/BreakingContextInlineHeaders.h |
index 9eb1187ca43ccd8d32a8e3458574ca150753d4c1..85fcce24ab3502aeb34719637e1a8134314e0c8a 100644 |
--- a/Source/core/rendering/line/BreakingContextInlineHeaders.h |
+++ b/Source/core/rendering/line/BreakingContextInlineHeaders.h |
@@ -516,7 +516,7 @@ inline void updateSegmentsForShapes(RenderBlockFlow* block, const FloatingObject |
return; |
bool isHorizontalWritingMode = block->isHorizontalWritingMode(); |
- LayoutUnit logicalOffsetFromShapeContainer = block->logicalOffsetFromShapeAncestorContainer(shapeInsideInfo->owner()).height(); |
+ LayoutUnit logicalOffsetFromShapeContainer = block->logicalOffsetFromShapeAncestorContainer(&shapeInsideInfo->owner()).height(); |
LayoutUnit lineLogicalTop = block->logicalHeight() + logicalOffsetFromShapeContainer; |
LayoutUnit lineLogicalHeight = block->lineHeight(isFirstLine, isHorizontalWritingMode ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); |