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