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

Unified Diff: Source/core/svg/SVGPathSegLinetoVerticalAbs.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/SVGPathSegLinetoVerticalAbs.h
diff --git a/Source/core/svg/SVGPathSegLinetoVerticalAbs.h b/Source/core/svg/SVGPathSegLinetoVerticalAbs.h
index 5d4c353831715f215d702a3f97f37910dda9651d..b7f1a8bcbf2103315d327c1390ed8c1ef65e1d45 100644
--- a/Source/core/svg/SVGPathSegLinetoVerticalAbs.h
+++ b/Source/core/svg/SVGPathSegLinetoVerticalAbs.h
@@ -34,6 +34,11 @@ public:
return adoptRefWillBeNoop(new SVGPathSegLinetoVerticalAbs(element, y));
}
+ virtual PassRefPtrWillBeRawPtr<SVGPathSeg> clone()
+ {
+ return adoptRefWillBeNoop(new SVGPathSegLinetoVerticalAbs(0, y()));
+ }
+
private:
SVGPathSegLinetoVerticalAbs(SVGPathElement* element, float y)
: SVGPathSegLinetoVertical(element, y) { }

Powered by Google App Engine
This is Rietveld 408576698