Index: Source/core/svg/SVGPathSegMoveto.h |
diff --git a/Source/core/svg/SVGPathSegMoveto.h b/Source/core/svg/SVGPathSegMoveto.h |
index 287f9468a5899443fece47e8afb4f7efc38a08ac..afa0cb189e3a432a07106d48cc6a4fc8eae0a27b 100644 |
--- a/Source/core/svg/SVGPathSegMoveto.h |
+++ b/Source/core/svg/SVGPathSegMoveto.h |
@@ -25,7 +25,7 @@ |
namespace WebCore { |
-class SVGPathSegMovetoAbs : public SVGPathSegSingleCoordinate { |
+class SVGPathSegMovetoAbs : public SVGPathSegSingleCoordinate { |
public: |
static PassRefPtr<SVGPathSegMovetoAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) |
{ |
@@ -36,13 +36,14 @@ private: |
SVGPathSegMovetoAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y) |
: SVGPathSegSingleCoordinate(element, role, x, y) |
{ |
+ ScriptWrappable::init(this); |
} |
virtual unsigned short pathSegType() const { return PATHSEG_MOVETO_ABS; } |
virtual String pathSegTypeAsLetter() const { return "M"; } |
}; |
-class SVGPathSegMovetoRel : public SVGPathSegSingleCoordinate { |
+class SVGPathSegMovetoRel : public SVGPathSegSingleCoordinate { |
public: |
static PassRefPtr<SVGPathSegMovetoRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) |
{ |
@@ -53,6 +54,7 @@ private: |
SVGPathSegMovetoRel(SVGPathElement* element, SVGPathSegRole role, float x, float y) |
: SVGPathSegSingleCoordinate(element, role, x, y) |
{ |
+ ScriptWrappable::init(this); |
} |
virtual unsigned short pathSegType() const { return PATHSEG_MOVETO_REL; } |