Index: Source/core/svg/SVGPathSegArcRel.h |
diff --git a/Source/core/svg/SVGPathSegArcRel.h b/Source/core/svg/SVGPathSegArcRel.h |
index f1c6ad24fe2e2a19646402b46eb1db12e253e1a5..f8e982f29e1daa5370e0a23777f2e52492e371d8 100644 |
--- a/Source/core/svg/SVGPathSegArcRel.h |
+++ b/Source/core/svg/SVGPathSegArcRel.h |
@@ -34,6 +34,11 @@ public: |
return adoptRefWillBeNoop(new SVGPathSegArcRel(element, x, y, r1, r2, angle, largeArcFlag, sweepFlag)); |
} |
+ virtual PassRefPtrWillBeRawPtr<SVGPathSeg> clone() override |
+ { |
+ return adoptRefWillBeNoop(new SVGPathSegArcRel(nullptr, x(), y(), r1(), r2(), angle(), largeArcFlag(), sweepFlag())); |
+ } |
+ |
private: |
SVGPathSegArcRel(SVGPathElement* element, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) |
: SVGPathSegArc(element, x, y, r1, r2, angle, largeArcFlag, sweepFlag) { } |