Index: Source/core/svg/SVGPathSegArcRel.h |
diff --git a/Source/core/svg/SVGPathSegArcRel.h b/Source/core/svg/SVGPathSegArcRel.h |
index f1c6ad24fe2e2a19646402b46eb1db12e253e1a5..d5d95780a83ae8916a0cb6bfe83788459dba91fb 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() |
+ { |
+ return adoptRefWillBeNoop(new SVGPathSegArcRel(0, 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) { } |