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

Unified Diff: Source/core/svg/SVGPathSegArcRel.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/SVGPathSegArcAbs.h ('k') | Source/core/svg/SVGPathSegClosePath.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegArcRel.h
diff --git a/Source/core/svg/SVGPathSegArcRel.h b/Source/core/svg/SVGPathSegArcRel.h
index f1c6ad24fe2e2a19646402b46eb1db12e253e1a5..b4b426b7162cfc43ee1d4a7ee7e3ef202d6f4cc5 100644
--- a/Source/core/svg/SVGPathSegArcRel.h
+++ b/Source/core/svg/SVGPathSegArcRel.h
@@ -34,6 +34,11 @@ public:
return adoptRefWillBeNoop(new SVGPathSegArcRel(element, x, y, r1, r2, angle, largeArcFlag, sweepFlag));
}
+ PassRefPtrWillBeRawPtr<SVGPathSeg> clone() override
+ {
+ return adoptRefWillBeNoop(new SVGPathSegArcRel(nullptr, x(), y(), r1(), r2(), angle(), largeArcFlag(), sweepFlag()));
+ }
+
private:
SVGPathSegArcRel(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) { }
« no previous file with comments | « Source/core/svg/SVGPathSegArcAbs.h ('k') | Source/core/svg/SVGPathSegClosePath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698