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

Unified Diff: Source/core/svg/SVGPathSegCurvetoQuadratic.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/SVGPathSegCurvetoCubicSmooth.h ('k') | Source/core/svg/SVGPathSegCurvetoQuadraticSmooth.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegCurvetoQuadratic.h
diff --git a/Source/core/svg/SVGPathSegCurvetoQuadratic.h b/Source/core/svg/SVGPathSegCurvetoQuadratic.h
index f75778a153b19f32474f312fcec6650922eaae02..97b6fb486a2a5012de3d851eda793f239317d2b9 100644
--- a/Source/core/svg/SVGPathSegCurvetoQuadratic.h
+++ b/Source/core/svg/SVGPathSegCurvetoQuadratic.h
@@ -25,7 +25,7 @@
namespace WebCore {
-class SVGPathSegCurvetoQuadratic : public SVGPathSegWithContext {
+class SVGPathSegCurvetoQuadratic : public SVGPathSegWithContext {
public:
SVGPathSegCurvetoQuadratic(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
: SVGPathSegWithContext(element, role)
@@ -82,6 +82,7 @@ private:
SVGPathSegCurvetoQuadraticAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
: SVGPathSegCurvetoQuadratic(element, role, x, y, x1, y1)
{
+ ScriptWrappable::init(this);
}
virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_QUADRATIC_ABS; }
@@ -99,6 +100,7 @@ private:
SVGPathSegCurvetoQuadraticRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1)
: SVGPathSegCurvetoQuadratic(element, role, x, y, x1, y1)
{
+ ScriptWrappable::init(this);
}
virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_QUADRATIC_REL; }
« no previous file with comments | « Source/core/svg/SVGPathSegCurvetoCubicSmooth.h ('k') | Source/core/svg/SVGPathSegCurvetoQuadraticSmooth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698