Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGPathSegCurvetoCubicSmoothAbs.h
index 21cf17c..9a87786 100644 (file)
@@ -27,6 +27,7 @@
 namespace blink {
 
 class SVGPathSegCurvetoCubicSmoothAbs FINAL : public SVGPathSegCurvetoCubicSmooth {
+    DEFINE_WRAPPERTYPEINFO();
 public:
     static PassRefPtr<SVGPathSegCurvetoCubicSmoothAbs> create(SVGPathElement* element, float x, float y, float x2, float y2)
     {
@@ -35,10 +36,7 @@ public:
 
 private:
     SVGPathSegCurvetoCubicSmoothAbs(SVGPathElement* element, float x, float y, float x2, float y2)
-        : SVGPathSegCurvetoCubicSmooth(element, x, y, x2, y2)
-    {
-        ScriptWrappable::init(this);
-    }
+        : SVGPathSegCurvetoCubicSmooth(element, x, y, x2, y2) { }
 
     virtual unsigned short pathSegType() const OVERRIDE { return PATHSEG_CURVETO_CUBIC_SMOOTH_ABS; }
     virtual String pathSegTypeAsLetter() const OVERRIDE { return "S"; }
@@ -46,4 +44,4 @@ private:
 
 } // namespace blink
 
-#endif
+#endif // SVGPathSegCurvetoCubicSmoothAbs_h