| Index: Source/core/paint/ListMarkerPainter.cpp
|
| diff --git a/Source/core/paint/ListMarkerPainter.cpp b/Source/core/paint/ListMarkerPainter.cpp
|
| index fec23e13ba627147c390c18420cf9061b1166dec..1d40795904fb48ec318f885ddcc82b983443ad33 100644
|
| --- a/Source/core/paint/ListMarkerPainter.cpp
|
| +++ b/Source/core/paint/ListMarkerPainter.cpp
|
| @@ -25,6 +25,9 @@ void ListMarkerPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& pai
|
| if (m_layoutListMarker.style()->visibility() != VISIBLE)
|
| return;
|
|
|
| + if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, m_layoutListMarker, paintInfo.phase))
|
| + return;
|
| +
|
| LayoutPoint boxOrigin(paintOffset + m_layoutListMarker.location());
|
| LayoutRect overflowRect(m_layoutListMarker.visualOverflowRect());
|
| if (m_layoutListMarker.selectionState() != LayoutObject::SelectionNone)
|
| @@ -36,8 +39,6 @@ void ListMarkerPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& pai
|
| return;
|
|
|
| LayoutObjectDrawingRecorder recorder(*paintInfo.context, m_layoutListMarker, paintInfo.phase, pixelSnappedOverflowRect);
|
| - if (recorder.canUseCachedDrawing())
|
| - return;
|
|
|
| LayoutRect box(boxOrigin, m_layoutListMarker.size());
|
|
|
|
|