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; } |