Index: Source/core/paint/BlockFlowPainter.cpp |
diff --git a/Source/core/paint/BlockFlowPainter.cpp b/Source/core/paint/BlockFlowPainter.cpp |
index 5c5de6ea57eced889c2903dd6aa750f27530ea0d..1a1e979c1216247b53d7643836f3cc04308b595d 100644 |
--- a/Source/core/paint/BlockFlowPainter.cpp |
+++ b/Source/core/paint/BlockFlowPainter.cpp |
@@ -72,7 +72,7 @@ void BlockFlowPainter::paintSelection(const PaintInfo& paintInfo, const LayoutPo |
m_renderBlockFlow.flipForWritingMode(localBounds); |
gapRectsBounds = m_renderBlockFlow.localToContainerQuad(FloatRect(localBounds), layer->renderer()).enclosingBoundingBox(); |
if (layer->renderer()->hasOverflowClip()) |
- gapRectsBounds.move(layer->renderBox()->scrolledContentOffset()); |
+ gapRectsBounds.move(layer->layoutBox()->scrolledContentOffset()); |
} |
layer->addBlockSelectionGapsBounds(gapRectsBounds); |
} |