| 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 bfe468f7d58d4898f30ef0e7d80b0c1478cfb28d..f1d9ee6a5835a2e1944174a36aab09bc5950bfa4 100644
|
| --- a/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/BlockPainter.cpp
|
| @@ -74,7 +74,6 @@ void BlockPainter::paintOverflowControlsIfNeeded(const PaintInfo& paintInfo, con
|
| if (m_layoutBlock.hasOverflowClip()
|
| && m_layoutBlock.style()->visibility() == VISIBLE
|
| && shouldPaintSelfBlockBackground(paintInfo.phase)
|
| - && paintInfo.shouldPaintWithinRoot(&m_layoutBlock)
|
| && !paintInfo.paintRootBackgroundOnly()) {
|
| Optional<ClipRecorder> clipRecorder;
|
| if (!m_layoutBlock.layer()->isSelfPaintingLayer()) {
|
| @@ -114,7 +113,7 @@ void BlockPainter::paintChildAsPseudoStackingContext(const LayoutBox& child, con
|
|
|
| void BlockPainter::paintInlineBox(const InlineBox& inlineBox, const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| - if (!paintInfo.shouldPaintWithinRoot(LineLayoutPaintShim::constLayoutObjectFrom(inlineBox.lineLayoutItem())) || (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection))
|
| + if (paintInfo.phase != PaintPhaseForeground && paintInfo.phase != PaintPhaseSelection)
|
| return;
|
|
|
| LayoutPoint childPoint = paintOffset;
|
| @@ -251,7 +250,6 @@ void BlockPainter::paintContents(const PaintInfo& paintInfo, const LayoutPoint&
|
| LineBoxListPainter(m_layoutBlock.lineBoxes()).paint(m_layoutBlock, paintInfo, paintOffset);
|
| } else {
|
| PaintInfo paintInfoForDescendants = paintInfo.forDescendants();
|
| - paintInfoForDescendants.updatePaintingRootForChildren(&m_layoutBlock);
|
| m_layoutBlock.paintChildren(paintInfoForDescendants, paintOffset);
|
| }
|
| }
|
|
|