| Index: third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp b/third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp
|
| index 136888c9e0e8516b8827849f7048a458db009e01..6282469aabc55097d2e9900c9a20c814d1377f7e 100644
|
| --- a/third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BlockFlowPainter.cpp
|
| @@ -79,7 +79,7 @@ void BlockFlowPainter::paintSelection(const PaintInfo& paintInfo, const LayoutPo
|
| if (!m_layoutBlockFlow.hasLayer()) {
|
| LayoutRect localBounds(gapRectsBounds);
|
| m_layoutBlockFlow.flipForWritingMode(localBounds);
|
| - gapRectsBounds = LayoutRect(m_layoutBlockFlow.localToContainerQuad(FloatRect(localBounds), layer->layoutObject()).enclosingBoundingBox());
|
| + gapRectsBounds = LayoutRect(m_layoutBlockFlow.localToAncestorQuad(FloatRect(localBounds), layer->layoutObject()).enclosingBoundingBox());
|
| if (layer->layoutObject()->hasOverflowClip())
|
| gapRectsBounds.move(layer->layoutBox()->scrolledContentOffset());
|
| }
|
|
|