Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGPathSegCurvetoCubicSmoothAbs.h
index 21cf17c..8f1d046 100644 (file)
@@ -26,7 +26,8 @@
 
 namespace blink {
 
-class SVGPathSegCurvetoCubicSmoothAbs FINAL : public SVGPathSegCurvetoCubicSmooth {
+class SVGPathSegCurvetoCubicSmoothAbs final : public SVGPathSegCurvetoCubicSmooth {
+    DEFINE_WRAPPERTYPEINFO();
 public:
     static PassRefPtr<SVGPathSegCurvetoCubicSmoothAbs> create(SVGPathElement* element, float x, float y, float x2, float y2)
     {
@@ -35,15 +36,12 @@ 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"; }
+    virtual unsigned short pathSegType() const override { return PATHSEG_CURVETO_CUBIC_SMOOTH_ABS; }
+    virtual String pathSegTypeAsLetter() const override { return "S"; }
 };
 
 } // namespace blink
 
-#endif
+#endif // SVGPathSegCurvetoCubicSmoothAbs_h