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

Unified Diff: Source/core/svg/SVGPathSegLinetoRel.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/SVGPathSegLinetoHorizontalRel.h ('k') | Source/core/svg/SVGPathSegLinetoVerticalAbs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegLinetoRel.h
diff --git a/Source/core/svg/SVGPathSegLinetoRel.h b/Source/core/svg/SVGPathSegLinetoRel.h
index dc2a5579fb3833124b5286a7b941d1683ad74311..b7fae5e9f7470eee83def76227e454d7e684ba75 100644
--- a/Source/core/svg/SVGPathSegLinetoRel.h
+++ b/Source/core/svg/SVGPathSegLinetoRel.h
@@ -34,6 +34,11 @@ public:
return adoptRefWillBeNoop(new SVGPathSegLinetoRel(element, x, y));
}
+ PassRefPtrWillBeRawPtr<SVGPathSeg> clone() override
+ {
+ return adoptRefWillBeNoop(new SVGPathSegLinetoRel(nullptr, x(), y()));
+ }
+
private:
SVGPathSegLinetoRel(SVGPathElement* element, float x, float y)
: SVGPathSegSingleCoordinate(element, x, y) { }
« no previous file with comments | « Source/core/svg/SVGPathSegLinetoHorizontalRel.h ('k') | Source/core/svg/SVGPathSegLinetoVerticalAbs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698