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