Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGPathSegMovetoAbs.h
index 0c68f96..67dd160 100644 (file)
@@ -27,6 +27,7 @@
 namespace blink {
 
 class SVGPathSegMovetoAbs FINAL : public SVGPathSegSingleCoordinate {
+    DEFINE_WRAPPERTYPEINFO();
 public:
     static PassRefPtr<SVGPathSegMovetoAbs> create(SVGPathElement* element, float x, float y)
     {
@@ -35,10 +36,7 @@ public:
 
 private:
     SVGPathSegMovetoAbs(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_ABS; }
     virtual String pathSegTypeAsLetter() const OVERRIDE { return "M"; }
@@ -46,4 +44,4 @@ private:
 
 } // namespace blink
 
-#endif
+#endif // SVGPathSegMovetoAbs_h