Index: Source/core/svg/SVGPathSegCurvetoQuadraticSmoothRel.h |
diff --git a/Source/core/svg/SVGPathSegCurvetoQuadraticSmoothRel.h b/Source/core/svg/SVGPathSegCurvetoQuadraticSmoothRel.h |
index c3ffd14b1aaa303849ab971077a5ee2971012ece..9dd9619a902f2a9c2da314ea8cf1ab7f385b7dc4 100644 |
--- a/Source/core/svg/SVGPathSegCurvetoQuadraticSmoothRel.h |
+++ b/Source/core/svg/SVGPathSegCurvetoQuadraticSmoothRel.h |
@@ -34,6 +34,11 @@ public: |
return adoptRefWillBeNoop(new SVGPathSegCurvetoQuadraticSmoothRel(element, x, y)); |
} |
+ virtual PassRefPtrWillBeRawPtr<SVGPathSeg> clone() |
+ { |
+ return adoptRefWillBeNoop(new SVGPathSegCurvetoQuadraticSmoothRel(0, x(), y())); |
+ } |
+ |
private: |
SVGPathSegCurvetoQuadraticSmoothRel(SVGPathElement* element, float x, float y) |
: SVGPathSegSingleCoordinate(element, x, y) { } |