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

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: 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/SVGPathSegArcRel.h
diff --git a/Source/core/svg/SVGPathSegArcRel.h b/Source/core/svg/SVGPathSegArcRel.h
index f1c6ad24fe2e2a19646402b46eb1db12e253e1a5..f8e982f29e1daa5370e0a23777f2e52492e371d8 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));
}
+ virtual 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) { }

Powered by Google App Engine
This is Rietveld 408576698