| Index: Source/core/paint/BlockPainter.cpp
|
| diff --git a/Source/core/paint/BlockPainter.cpp b/Source/core/paint/BlockPainter.cpp
|
| index a21a7870bc69c48a77ec9c8f0dd694e8f0eaada4..8198eb87c0accf58e8ccc02b0b946f9f75cdbf48 100644
|
| --- a/Source/core/paint/BlockPainter.cpp
|
| +++ b/Source/core/paint/BlockPainter.cpp
|
| @@ -160,7 +160,7 @@ void BlockPainter::paintAsInlineBlock(LayoutObject& layoutObject, const PaintInf
|
|
|
| void BlockPainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& paintOffset)
|
| {
|
| - PaintPhase paintPhase = paintInfo.phase;
|
| + const PaintPhase paintPhase = paintInfo.phase;
|
|
|
| LayoutRect bounds;
|
| if (RuntimeEnabledFeatures::slimmingPaintEnabled()) {
|
| @@ -174,9 +174,7 @@ void BlockPainter::paintObject(const PaintInfo& paintInfo, const LayoutPoint& pa
|
| m_layoutBlock.paintBoxDecorationBackground(paintInfo, paintOffset);
|
|
|
| if (paintPhase == PaintPhaseMask && m_layoutBlock.style()->visibility() == VISIBLE) {
|
| - LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutBlock, paintPhase, bounds);
|
| - if (!recorder.canUseCachedDrawing())
|
| - m_layoutBlock.paintMask(paintInfo, paintOffset);
|
| + m_layoutBlock.paintMask(paintInfo, paintOffset);
|
| return;
|
| }
|
|
|
|
|