| 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 bd5b0fcf93abbbce29d69e41a8959386de7ccbbe..75855f4a5374bf2bfca7f90cfc915527436a0470 100644
|
| --- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| @@ -74,12 +74,6 @@
|
| {
|
| PaintPhase phase = paintInfo.phase;
|
| if (m_layoutBlock.hasOverflowClip() && m_layoutBlock.style()->visibility() == VISIBLE && (phase == PaintPhaseBlockBackground || phase == PaintPhaseChildBlockBackground) && paintInfo.shouldPaintWithinRoot(&m_layoutBlock) && !paintInfo.paintRootBackgroundOnly()) {
|
| - Optional<ClipRecorder> clipRecorder;
|
| - if (!m_layoutBlock.layer()->isSelfPaintingLayer()) {
|
| - LayoutRect clipRect = m_layoutBlock.borderBoxRect();
|
| - clipRect.moveBy(paintOffset);
|
| - clipRecorder.emplace(*paintInfo.context, m_layoutBlock, DisplayItem::ClipScrollbarsToBoxBounds, clipRect);
|
| - }
|
| ScrollableAreaPainter(*m_layoutBlock.layer()->scrollableArea()).paintOverflowControls(paintInfo.context, roundedIntPoint(paintOffset), paintInfo.cullRect(), false /* paintingOverlayControls */);
|
| }
|
| }
|
|
|