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