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