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/SVGPathSegCurvetoCubicSmoothRel.h

Issue 1177303004: Updated SVGListPropertyHelper as per SVG2 Spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed presubmit error 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
« no previous file with comments | « Source/core/svg/SVGPathSegCurvetoCubicSmoothAbs.h ('k') | Source/core/svg/SVGPathSegCurvetoQuadraticAbs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.h
diff --git a/Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.h b/Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.h
index 7504dfb9db8e38e2cc4f4d197136fce3f09b2c37..9a5f3948bcab07f687cd89e940ad07edbb6db18b 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));
}
+ 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) { }
« no previous file with comments | « Source/core/svg/SVGPathSegCurvetoCubicSmoothAbs.h ('k') | Source/core/svg/SVGPathSegCurvetoQuadraticAbs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698