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

Unified Diff: Source/core/svg/SVGPathSegLinetoHorizontal.h

Issue 15492007: Make SVG objects ScriptWrappable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix indent Created 7 years, 7 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/SVGPathSegLineto.h ('k') | Source/core/svg/SVGPathSegLinetoVertical.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegLinetoHorizontal.h
diff --git a/Source/core/svg/SVGPathSegLinetoHorizontal.h b/Source/core/svg/SVGPathSegLinetoHorizontal.h
index c5019501e2e60435706da60e192885b2aa6fb78e..9dc04b0349acb806ddc67edd9ab77c0c6d20eb1a 100644
--- a/Source/core/svg/SVGPathSegLinetoHorizontal.h
+++ b/Source/core/svg/SVGPathSegLinetoHorizontal.h
@@ -55,6 +55,7 @@ private:
SVGPathSegLinetoHorizontalAbs(SVGPathElement* element, SVGPathSegRole role, float x)
: SVGPathSegLinetoHorizontal(element, role, x)
{
+ ScriptWrappable::init(this);
}
virtual unsigned short pathSegType() const { return PATHSEG_LINETO_HORIZONTAL_ABS; }
@@ -72,6 +73,7 @@ private:
SVGPathSegLinetoHorizontalRel(SVGPathElement* element, SVGPathSegRole role, float x)
: SVGPathSegLinetoHorizontal(element, role, x)
{
+ ScriptWrappable::init(this);
}
virtual unsigned short pathSegType() const { return PATHSEG_LINETO_HORIZONTAL_REL; }
« no previous file with comments | « Source/core/svg/SVGPathSegLineto.h ('k') | Source/core/svg/SVGPathSegLinetoVertical.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698