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