Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGPathSegMovetoRel.h
index 98e8565..56ec4ab 100644 (file)
@@ -27,6 +27,7 @@
 namespace blink {
 
 class SVGPathSegMovetoRel FINAL : public SVGPathSegSingleCoordinate {
+    DEFINE_WRAPPERTYPEINFO();
 public:
     static PassRefPtr<SVGPathSegMovetoRel> create(SVGPathElement* element, float x, float y)
     {
@@ -35,10 +36,7 @@ public:
 
 private:
     SVGPathSegMovetoRel(SVGPathElement* element, float x, float y)
-        : SVGPathSegSingleCoordinate(element, x, y)
-    {
-        ScriptWrappable::init(this);
-    }
+        : SVGPathSegSingleCoordinate(element, x, y) { }
 
     virtual unsigned short pathSegType() const OVERRIDE { return PATHSEG_MOVETO_REL; }
     virtual String pathSegTypeAsLetter() const OVERRIDE { return "m"; }
@@ -46,4 +44,4 @@ private:
 
 } // namespace blink
 
-#endif
+#endif // SVGPathSegMovetoRel_h