Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1342)

Unified Diff: Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h

Issue 1177303004: Updated SVGListPropertyHelper as per SVG2 Spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Align with review comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h
diff --git a/Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h b/Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h
index 8c54159318c892d42c6a9aa8e3a34e3106dfaa04..259536654f2421f9149820b16ba43d013e0b38a7 100644
--- a/Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h
+++ b/Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h
@@ -34,6 +34,11 @@ public:
return adoptRefWillBeNoop(new SVGPathSegCurvetoQuadraticSmoothAbs(element, x, y));
}
+ virtual PassRefPtrWillBeRawPtr<SVGPathSeg> clone() override
+ {
+ return adoptRefWillBeNoop(new SVGPathSegCurvetoQuadraticSmoothAbs(nullptr, x(), y()));
+ }
+
private:
SVGPathSegCurvetoQuadraticSmoothAbs(SVGPathElement* element, float x, float y)
: SVGPathSegSingleCoordinate(element, x, y) { }

Powered by Google App Engine
This is Rietveld 408576698