Index: Source/core/svg/SVGPathSegCurvetoCubicRel.h |
diff --git a/Source/core/svg/SVGPathSegCurvetoCubicRel.h b/Source/core/svg/SVGPathSegCurvetoCubicRel.h |
index ebbfda7b5b3e38b341487fea1e6ead19f4589c4d..377dacb5ce92546e0d774c2185505df9ffd0d073 100644 |
--- a/Source/core/svg/SVGPathSegCurvetoCubicRel.h |
+++ b/Source/core/svg/SVGPathSegCurvetoCubicRel.h |
@@ -34,6 +34,11 @@ public: |
return adoptRefWillBeNoop(new SVGPathSegCurvetoCubicRel(element, x, y, x1, y1, x2, y2)); |
} |
+ PassRefPtrWillBeRawPtr<SVGPathSeg> clone() override |
+ { |
+ return adoptRefWillBeNoop(new SVGPathSegCurvetoCubicRel(nullptr, x(), y(), x1(), y1(), x2(), y2())); |
+ } |
+ |
private: |
SVGPathSegCurvetoCubicRel(SVGPathElement* element, float x, float y, float x1, float y1, float x2, float y2) |
: SVGPathSegCurvetoCubic(element, x, y, x1, y1, x2, y2) { } |