| Index: sky/engine/core/rendering/RenderBlock.cpp
|
| diff --git a/sky/engine/core/rendering/RenderBlock.cpp b/sky/engine/core/rendering/RenderBlock.cpp
|
| index 5a9004d21c69aeb83d8d96115c675741820477bd..9b5de4528f2aca1a4cce47a2005b6833c463ddfc 100644
|
| --- a/sky/engine/core/rendering/RenderBlock.cpp
|
| +++ b/sky/engine/core/rendering/RenderBlock.cpp
|
| @@ -1166,7 +1166,7 @@ void RenderBlock::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| // FIXME: Could eliminate the isDocumentElement() check if we fix background painting so that the RenderView
|
| // paints the root's background.
|
| if (!isDocumentElement()) {
|
| - overflowBox = overflowRectForPaintRejection();
|
| + overflowBox = visualOverflowRect();
|
| overflowBox.moveBy(adjustedPaintOffset);
|
| if (!overflowBox.intersects(paintInfo.rect))
|
| return;
|
|
|