Index: Source/core/svg/SVGPathSegLinetoRel.h |
diff --git a/Source/core/svg/SVGPathSegLinetoRel.h b/Source/core/svg/SVGPathSegLinetoRel.h |
index dc2a5579fb3833124b5286a7b941d1683ad74311..b7fae5e9f7470eee83def76227e454d7e684ba75 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)); |
} |
+ PassRefPtrWillBeRawPtr<SVGPathSeg> clone() override |
+ { |
+ return adoptRefWillBeNoop(new SVGPathSegLinetoRel(nullptr, x(), y())); |
+ } |
+ |
private: |
SVGPathSegLinetoRel(SVGPathElement* element, float x, float y) |
: SVGPathSegSingleCoordinate(element, x, y) { } |