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

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

Powered by Google App Engine
This is Rietveld 408576698