| Index: third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp b/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
|
| index 15e9087b7a7103c440769e3579577d85dbd03b02..93117710fd8b011766d146133704f429307fbaaa 100644
|
| --- a/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/SVGClipPainter.cpp
|
| @@ -135,7 +135,10 @@ bool SVGClipPainter::drawClipAsMask(GraphicsContext& context,
|
| PaintRecordBuilder maskBuilder(targetVisualRect, nullptr, &context);
|
| GraphicsContext& maskContext = maskBuilder.context();
|
| {
|
| - TransformRecorder recorder(maskContext, layoutObject, localTransform);
|
| + TransformRecorder recorder(
|
| + maskContext, localTransform, layoutObject.visualRect(),
|
| + layoutObject.debugName(),
|
| + layoutObject.paintedOutputOfObjectHasNoEffectRegardlessOfSize());
|
|
|
| // Apply any clip-path clipping this clipPath (nested shape/clipPath.)
|
| Optional<ClipPathClipper> nestedClipPathClipper;
|
| @@ -154,8 +157,10 @@ bool SVGClipPainter::drawClipAsMask(GraphicsContext& context,
|
| }
|
| SubtreeContentTransformScope contentTransformScope(contentTransform);
|
|
|
| - TransformRecorder contentTransformRecorder(maskContext, layoutObject,
|
| - contentTransform);
|
| + TransformRecorder contentTransformRecorder(
|
| + maskContext, contentTransform, layoutObject.visualRect(),
|
| + layoutObject.debugName(),
|
| + layoutObject.paintedOutputOfObjectHasNoEffectRegardlessOfSize());
|
| maskContext.getPaintController().createAndAppend<DrawingDisplayItem>(
|
| layoutObject, DisplayItem::kSVGClip, m_clip.createPaintRecord());
|
| }
|
|
|