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