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