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

Unified Diff: Source/core/svg/SVGPathSegClosePath.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/SVGPathSegClosePath.h
diff --git a/Source/core/svg/SVGPathSegClosePath.h b/Source/core/svg/SVGPathSegClosePath.h
index 6b844f0fd00101a9d94781f27abef9e3cf64b392..697dd5ec3885dddd5a276eb19f09410ed745b85c 100644
--- a/Source/core/svg/SVGPathSegClosePath.h
+++ b/Source/core/svg/SVGPathSegClosePath.h
@@ -33,6 +33,11 @@ public:
return adoptRefWillBeNoop(new SVGPathSegClosePath(element));
}
+ virtual PassRefPtrWillBeRawPtr<SVGPathSeg> clone() override
+ {
+ return adoptRefWillBeNoop(new SVGPathSegClosePath(nullptr));
+ }
+
private:
SVGPathSegClosePath(SVGPathElement* element)
: SVGPathSeg(element) { }

Powered by Google App Engine
This is Rietveld 408576698