Index: Source/core/svg/SVGPathSegMovetoRel.h |
diff --git a/Source/core/svg/SVGPathSegMovetoRel.h b/Source/core/svg/SVGPathSegMovetoRel.h |
index ba4228d6eb0ab1ada95e5cbec03cf56e606b1316..5b2be9b2b57f3b8cfd010cc3aeca37ba06c88d7e 100644 |
--- a/Source/core/svg/SVGPathSegMovetoRel.h |
+++ b/Source/core/svg/SVGPathSegMovetoRel.h |
@@ -34,6 +34,11 @@ public: |
return adoptRefWillBeNoop(new SVGPathSegMovetoRel(element, x, y)); |
} |
+ virtual PassRefPtrWillBeRawPtr<SVGPathSeg> clone() |
+ { |
+ return adoptRefWillBeNoop(new SVGPathSegMovetoRel(0, x(), y())); |
+ } |
+ |
private: |
SVGPathSegMovetoRel(SVGPathElement* element, float x, float y) |
: SVGPathSegSingleCoordinate(element, x, y) { } |