Index: Source/core/paint/SVGShapePainter.cpp |
diff --git a/Source/core/paint/SVGShapePainter.cpp b/Source/core/paint/SVGShapePainter.cpp |
index 1af910d6fa589a437edb2b863050e6790045fe90..038619c4347c78780caf157511cb2ab7426df861 100644 |
--- a/Source/core/paint/SVGShapePainter.cpp |
+++ b/Source/core/paint/SVGShapePainter.cpp |
@@ -59,8 +59,8 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) |
TransformRecorder transformRecorder(*paintInfoBeforeFiltering.context, m_layoutSVGShape, m_layoutSVGShape.localTransform()); |
{ |
SVGPaintContext paintContext(m_layoutSVGShape, paintInfoBeforeFiltering); |
- if (paintContext.applyClipMaskAndFilterIfNecessary() && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintContext.paintInfo().context, m_layoutSVGShape, paintContext.paintInfo().phase)) { |
- LayoutObjectDrawingRecorder recorder(*paintContext.paintInfo().context, m_layoutSVGShape, paintContext.paintInfo().phase, boundingBox); |
+ if (paintContext.applyClipMaskAndFilterIfNecessary() && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintContext.paintInfo().context, m_layoutSVGShape, paintContext.paintInfo().phase, LayoutPoint())) { |
+ LayoutObjectDrawingRecorder recorder(*paintContext.paintInfo().context, m_layoutSVGShape, paintContext.paintInfo().phase, boundingBox, LayoutPoint()); |
const SVGComputedStyle& svgStyle = m_layoutSVGShape.style()->svgStyle(); |
bool shouldAntiAlias = svgStyle.shapeRendering() != SR_CRISPEDGES; |
@@ -118,7 +118,7 @@ void SVGShapePainter::paint(const PaintInfo& paintInfo) |
outlinePaintInfo.phase = PaintPhaseSelfOutline; |
LayoutRect layoutObjectBounds(boundingBox); |
LayoutRect visualOverflowRect = ObjectPainter::outlineBounds(layoutObjectBounds, m_layoutSVGShape.styleRef()); |
- ObjectPainter(m_layoutSVGShape).paintOutline(outlinePaintInfo, layoutObjectBounds, visualOverflowRect); |
+ ObjectPainter(m_layoutSVGShape).paintOutline(outlinePaintInfo, layoutObjectBounds, visualOverflowRect, LayoutPoint()); |
} |
} |