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