Chromium Code Reviews| Index: Source/core/svg/SVGPathSegArcAbs.h |
| diff --git a/Source/core/svg/SVGPathSegArcAbs.h b/Source/core/svg/SVGPathSegArcAbs.h |
| index 6d68132545b18ecd1f4ead50d1d736c2077754b8..1d39ea141d805a1a1accef3f9e033481582b0362 100644 |
| --- a/Source/core/svg/SVGPathSegArcAbs.h |
| +++ b/Source/core/svg/SVGPathSegArcAbs.h |
| @@ -34,6 +34,11 @@ public: |
| return adoptRefWillBeNoop(new SVGPathSegArcAbs(element, x, y, r1, r2, angle, largeArcFlag, sweepFlag)); |
| } |
| + virtual PassRefPtrWillBeRawPtr<SVGPathSeg> clone() override |
|
fs
2015/06/18 12:57:22
Nit: override is enough (don't need both virtual a
|
| + { |
| + return adoptRefWillBeNoop(new SVGPathSegArcAbs(nullptr, x(), y(), r1(), r2(), angle(), largeArcFlag(), sweepFlag())); |
| + } |
| + |
| private: |
| SVGPathSegArcAbs(SVGPathElement* element, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) |
| : SVGPathSegArc(element, x, y, r1, r2, angle, largeArcFlag, sweepFlag) { } |