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