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

Unified Diff: Source/core/svg/SVGPathSegCurvetoCubicSmooth.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/SVGPathSegCurvetoCubic.h ('k') | Source/core/svg/SVGPathSegCurvetoQuadratic.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegCurvetoCubicSmooth.h
diff --git a/Source/core/svg/SVGPathSegCurvetoCubicSmooth.h b/Source/core/svg/SVGPathSegCurvetoCubicSmooth.h
index 8426f8d59197e8bf4604636d368f053f7b226912..db9ae74a0811a1c9f482a2e3c893c216575bbe98 100644
--- a/Source/core/svg/SVGPathSegCurvetoCubicSmooth.h
+++ b/Source/core/svg/SVGPathSegCurvetoCubicSmooth.h
@@ -82,6 +82,7 @@ private:
SVGPathSegCurvetoCubicSmoothAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2)
: SVGPathSegCurvetoCubicSmooth(element, role, x, y, x2, y2)
{
+ ScriptWrappable::init(this);
}
virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_SMOOTH_ABS; }
@@ -99,6 +100,7 @@ private:
SVGPathSegCurvetoCubicSmoothRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2)
: SVGPathSegCurvetoCubicSmooth(element, role, x, y, x2, y2)
{
+ ScriptWrappable::init(this);
}
virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_SMOOTH_REL; }
« no previous file with comments | « Source/core/svg/SVGPathSegCurvetoCubic.h ('k') | Source/core/svg/SVGPathSegCurvetoQuadratic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698