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

Unified Diff: Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.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/SVGPathSegCurvetoCubicSmoothRel.h
diff --git a/Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.h b/Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.h
index 7504dfb9db8e38e2cc4f4d197136fce3f09b2c37..59b4c0d5440971c0861260598d0c050c9d2be7f8 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() override
+ {
+ return adoptRefWillBeNoop(new SVGPathSegCurvetoCubicSmoothRel(nullptr, x(), y(), x2(), y2()));
+ }
+
private:
SVGPathSegCurvetoCubicSmoothRel(SVGPathElement* element, float x, float y, float x2, float y2)
: SVGPathSegCurvetoCubicSmooth(element, x, y, x2, y2) { }

Powered by Google App Engine
This is Rietveld 408576698