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

Unified Diff: Source/core/svg/SVGPathSegLinetoHorizontalAbs.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/SVGPathSegLinetoAbs.h ('k') | Source/core/svg/SVGPathSegLinetoHorizontalRel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegLinetoHorizontalAbs.h
diff --git a/Source/core/svg/SVGPathSegLinetoHorizontalAbs.h b/Source/core/svg/SVGPathSegLinetoHorizontalAbs.h
index a13f56306b535bf63c17b52b3ac174957cbf1ada..bb4ea9f9687cbd2ef4520224ceb41425ae1fb57b 100644
--- a/Source/core/svg/SVGPathSegLinetoHorizontalAbs.h
+++ b/Source/core/svg/SVGPathSegLinetoHorizontalAbs.h
@@ -34,6 +34,11 @@ public:
return adoptRefWillBeNoop(new SVGPathSegLinetoHorizontalAbs(element, x));
}
+ PassRefPtrWillBeRawPtr<SVGPathSeg> clone() override
+ {
+ return adoptRefWillBeNoop(new SVGPathSegLinetoHorizontalAbs(nullptr, x()));
+ }
+
private:
SVGPathSegLinetoHorizontalAbs(SVGPathElement* element, float x)
: SVGPathSegLinetoHorizontal(element, x) { }
« no previous file with comments | « Source/core/svg/SVGPathSegLinetoAbs.h ('k') | Source/core/svg/SVGPathSegLinetoHorizontalRel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698