Index: Source/core/svg/SVGPathSegCurvetoCubic.h |
diff --git a/Source/core/svg/SVGPathSegCurvetoCubic.h b/Source/core/svg/SVGPathSegCurvetoCubic.h |
index e4bebdaaedbc56f64e919917d550019db1f77281..4eaa4cc765a9e3b89605cf087b04faaeb19f2b05 100644 |
--- a/Source/core/svg/SVGPathSegCurvetoCubic.h |
+++ b/Source/core/svg/SVGPathSegCurvetoCubic.h |
@@ -25,7 +25,7 @@ |
namespace WebCore { |
-class SVGPathSegCurvetoCubic : public SVGPathSegWithContext { |
+class SVGPathSegCurvetoCubic : public SVGPathSegWithContext { |
public: |
SVGPathSegCurvetoCubic(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) |
: SVGPathSegWithContext(element, role) |
@@ -100,6 +100,7 @@ private: |
SVGPathSegCurvetoCubicAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) |
: SVGPathSegCurvetoCubic(element, role, x, y, x1, y1, x2, y2) |
{ |
+ ScriptWrappable::init(this); |
} |
virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_ABS; } |
@@ -117,6 +118,7 @@ private: |
SVGPathSegCurvetoCubicRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) |
: SVGPathSegCurvetoCubic(element, role, x, y, x1, y1, x2, y2) |
{ |
+ ScriptWrappable::init(this); |
} |
virtual unsigned short pathSegType() const { return PATHSEG_CURVETO_CUBIC_REL; } |