Index: Source/core/paint/DetailsMarkerPainter.cpp |
diff --git a/Source/core/paint/DetailsMarkerPainter.cpp b/Source/core/paint/DetailsMarkerPainter.cpp |
index d20e69b4ab6b2d923fc731672675a5e1c8f61287..1e3e82f118193463fb37e0586b50e08034f3ed63 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,8 @@ void DetailsMarkerPainter::paint(const PaintInfo& paintInfo, const LayoutPoint& |
if (!paintInfo.rect.intersects(pixelSnappedIntRect(overflowRect))) |
return; |
+ RenderDrawingRecorder RenderDrawingRecorder(paintInfo.context, m_renderDetailsMarker, paintInfo.phase, overflowRect); |
jbroman
2015/02/03 02:15:04
Should we be checking canUseCachedDrawing() here?
chrishtr
2015/02/03 20:27:17
Done.
|
+ |
const Color color(m_renderDetailsMarker.resolveColor(CSSPropertyColor)); |
paintInfo.context->setStrokeColor(color); |
paintInfo.context->setStrokeStyle(SolidStroke); |