| Index: third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/BlockPainter.cpp b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| index 2b4339847337edd0eff8b1a6b2bb8a1b1e70aa64..1630fe9835c69fd003b7887f1be395cdd9319482 100644
|
| --- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| @@ -222,9 +222,8 @@ bool BlockPainter::intersectsPaintRect(const PaintInfo& paintInfo, const LayoutP
|
| Vector<LayoutRect> rects;
|
| m_layoutBlock.addElementVisualOverflowRects(rects, LayoutPoint());
|
| overflowRect = unionRect(rects);
|
| - } else {
|
| - overflowRect = m_layoutBlock.visualOverflowRect();
|
| }
|
| + overflowRect.unite(m_layoutBlock.visualOverflowRect());
|
|
|
| if (m_layoutBlock.hasOverflowModel() && m_layoutBlock.usesCompositedScrolling()) {
|
| overflowRect.unite(m_layoutBlock.layoutOverflowRect());
|
|
|