| Index: Source/core/rendering/RenderBlock.cpp
|
| diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
|
| index f5ad8965fa55d8885961e3bd6f963e723e5b8903..2698c2af4ca393b0994bc2806bf222c0b40f2f3f 100644
|
| --- a/Source/core/rendering/RenderBlock.cpp
|
| +++ b/Source/core/rendering/RenderBlock.cpp
|
| @@ -1541,10 +1541,8 @@ void RenderBlock::computeOverflow(LayoutUnit oldClientAfterEdge, bool)
|
| m_overflow->setLayoutClientAfterEdge(oldClientAfterEdge);
|
| }
|
|
|
| - // Add visual overflow from box-shadow and border-image-outset.
|
| addVisualEffectOverflow();
|
|
|
| - // Add visual overflow from theme.
|
| addVisualOverflowFromTheme();
|
| }
|
|
|
| @@ -1836,7 +1834,6 @@ void RenderBlock::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| if (!isRoot()) {
|
| LayoutRect overflowBox = overflowRectForPaintRejection();
|
| flipForWritingMode(overflowBox);
|
| - overflowBox.inflate(maximalOutlineSize(paintInfo.phase));
|
| overflowBox.moveBy(adjustedPaintOffset);
|
| if (!overflowBox.intersects(paintInfo.rect))
|
| return;
|
|
|