Index: third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
index 9788f111d6d8a0092b58f3bb7154c01d41912a5f..ad2afadba157a86662226625df1bb362ee6e3b76 100644 |
--- a/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/SVGShapePainter.cpp |
@@ -241,13 +241,17 @@ void SVGShapePainter::paintMarker(const PaintInfo& paintInfo, |
return; |
TransformRecorder transformRecorder( |
- paintInfo.context, marker, |
- marker.markerTransformation(position.origin, position.angle, |
- strokeWidth)); |
+ paintInfo.context, |
+ marker.markerTransformation(position.origin, position.angle, strokeWidth), |
+ marker.visualRect(), marker.debugName(), |
+ marker.paintedOutputOfObjectHasNoEffectRegardlessOfSize()); |
Optional<FloatClipRecorder> clipRecorder; |
- if (SVGLayoutSupport::isOverflowHidden(&marker)) |
- clipRecorder.emplace(paintInfo.context, marker, paintInfo.phase, |
- marker.viewport()); |
+ if (SVGLayoutSupport::isOverflowHidden(&marker)) { |
+ clipRecorder.emplace( |
+ paintInfo.context, paintInfo.phase, marker.viewport(), |
+ marker.visualRect(), marker.debugName(), |
+ marker.paintedOutputOfObjectHasNoEffectRegardlessOfSize()); |
+ } |
SVGContainerPainter(marker).paint(paintInfo); |
} |