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

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: small nits 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/SVGPathSegArcAbs.h
diff --git a/Source/core/svg/SVGPathSegArcAbs.h b/Source/core/svg/SVGPathSegArcAbs.h
index 6d68132545b18ecd1f4ead50d1d736c2077754b8..b0372f8e02e051f89a6961fdb36d674e33a3e940 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));
}
+ virtual PassRefPtrWillBeRawPtr<SVGPathSeg> clone()
fs 2015/06/17 16:02:05 override?
Shanmuga Pandi 2015/06/18 11:30:45 Done.
+ {
+ return adoptRefWillBeNoop(new SVGPathSegArcAbs(0, x(), y(), r1(), r2(), angle(), largeArcFlag(), sweepFlag()));
fs 2015/06/17 16:02:05 0 -> nullptr (here and all the other places.)
Shanmuga Pandi 2015/06/18 11:30:45 Done.
+ }
+
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) { }

Powered by Google App Engine
This is Rietveld 408576698