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

Unified Diff: Source/core/svg/SVGPathSegArc.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/SVGPathSeg.h ('k') | Source/core/svg/SVGPathSegClosePath.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegArc.h
diff --git a/Source/core/svg/SVGPathSegArc.h b/Source/core/svg/SVGPathSegArc.h
index c02f56be3bd9cb267021f8c112b55c2d6d6f9ac2..b787a37baae83911a062f198d7780fdccd75e19a 100644
--- a/Source/core/svg/SVGPathSegArc.h
+++ b/Source/core/svg/SVGPathSegArc.h
@@ -110,6 +110,7 @@ private:
SVGPathSegArcAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
: SVGPathSegArc(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)
{
+ ScriptWrappable::init(this);
}
virtual unsigned short pathSegType() const { return PATHSEG_ARC_ABS; }
@@ -127,6 +128,7 @@ private:
SVGPathSegArcRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
: SVGPathSegArc(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)
{
+ ScriptWrappable::init(this);
}
virtual unsigned short pathSegType() const { return PATHSEG_ARC_REL; }
« no previous file with comments | « Source/core/svg/SVGPathSeg.h ('k') | Source/core/svg/SVGPathSegClosePath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698