Index: Source/core/svg/SVGPathSegLineto.h |
diff --git a/Source/core/svg/SVGPathSegLineto.h b/Source/core/svg/SVGPathSegLineto.h |
index 4c8351d352e92e9e1af0596e49d2c45abecce479..c78526df8267a63e67d0fbd3904693945b304200 100644 |
--- a/Source/core/svg/SVGPathSegLineto.h |
+++ b/Source/core/svg/SVGPathSegLineto.h |
@@ -25,7 +25,7 @@ |
namespace WebCore { |
-class SVGPathSegLinetoAbs : public SVGPathSegSingleCoordinate { |
+class SVGPathSegLinetoAbs : public SVGPathSegSingleCoordinate { |
public: |
static PassRefPtr<SVGPathSegLinetoAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) |
{ |
@@ -36,13 +36,14 @@ private: |
SVGPathSegLinetoAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y) |
: SVGPathSegSingleCoordinate(element, role, x, y) |
{ |
+ ScriptWrappable::init(this); |
} |
virtual unsigned short pathSegType() const { return PATHSEG_LINETO_ABS; } |
virtual String pathSegTypeAsLetter() const { return "L"; } |
}; |
-class SVGPathSegLinetoRel : public SVGPathSegSingleCoordinate { |
+class SVGPathSegLinetoRel : public SVGPathSegSingleCoordinate { |
public: |
static PassRefPtr<SVGPathSegLinetoRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) |
{ |
@@ -53,6 +54,7 @@ private: |
SVGPathSegLinetoRel(SVGPathElement* element, SVGPathSegRole role, float x, float y) |
: SVGPathSegSingleCoordinate(element, role, x, y) |
{ |
+ ScriptWrappable::init(this); |
} |
virtual unsigned short pathSegType() const { return PATHSEG_LINETO_REL; } |