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