Index: Source/core/svg/SVGPathSegLinetoHorizontalRel.h |
diff --git a/Source/core/svg/SVGPathSegLinetoHorizontalRel.h b/Source/core/svg/SVGPathSegLinetoHorizontalRel.h |
index 66208d949c6316a768c897d9b01aee08e272604c..9280f9cb564da09556d3c69072ed8ca68716c014 100644 |
--- a/Source/core/svg/SVGPathSegLinetoHorizontalRel.h |
+++ b/Source/core/svg/SVGPathSegLinetoHorizontalRel.h |
@@ -34,6 +34,11 @@ public: |
return adoptRefWillBeNoop(new SVGPathSegLinetoHorizontalRel(element, x)); |
} |
+ PassRefPtrWillBeRawPtr<SVGPathSeg> clone() override |
+ { |
+ return adoptRefWillBeNoop(new SVGPathSegLinetoHorizontalRel(nullptr, x())); |
+ } |
+ |
private: |
SVGPathSegLinetoHorizontalRel(SVGPathElement* element, float x) |
: SVGPathSegLinetoHorizontal(element, x) { } |