| Index: Source/core/paint/DetailsMarkerPainter.cpp
|
| diff --git a/Source/core/paint/DetailsMarkerPainter.cpp b/Source/core/paint/DetailsMarkerPainter.cpp
|
| index d20e69b4ab6b2d923fc731672675a5e1c8f61287..72a590ecb9a0b385179afc943c26fd2c6e6ca5d9 100644
|
| --- a/Source/core/paint/DetailsMarkerPainter.cpp
|
| +++ b/Source/core/paint/DetailsMarkerPainter.cpp
|
| @@ -6,6 +6,7 @@
|
| #include "core/paint/DetailsMarkerPainter.h"
|
|
|
| #include "core/paint/BlockPainter.h"
|
| +#include "core/paint/RenderDrawingRecorder.h"
|
| #include "core/rendering/PaintInfo.h"
|
| #include "core/rendering/RenderDetailsMarker.h"
|
| #include "platform/geometry/LayoutPoint.h"
|
| @@ -27,6 +28,10 @@ void DetailsMarkerPainter::paint(const PaintInfo& paintInfo, const LayoutPoint&
|
| if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect)))
|
| return;
|
|
|
| + RenderDrawingRecorder renderDrawingRecorder(paintInfo.context, m_renderDetailsMarker, paintInfo.phase, overflowRect);
|
| + if (renderDrawingRecorder.canUseCachedDrawing())
|
| + return;
|
| +
|
| const Color color(m_renderDetailsMarker.resolveColor(CSSPropertyColor));
|
| paintInfo.context->setStrokeColor(color);
|
| paintInfo.context->setStrokeStyle(SolidStroke);
|
|
|