Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGPathSegArcRel.h
index 984557d..3400d7f 100644 (file)
@@ -26,7 +26,8 @@
 
 namespace blink {
 
-class SVGPathSegArcRel FINAL : public SVGPathSegArc {
+class SVGPathSegArcRel final : public SVGPathSegArc {
+    DEFINE_WRAPPERTYPEINFO();
 public:
     static PassRefPtr<SVGPathSegArcRel> create(SVGPathElement* element, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
     {
@@ -35,15 +36,12 @@ public:
 
 private:
     SVGPathSegArcRel(SVGPathElement* element, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
-        : SVGPathSegArc(element, x, y, r1, r2, angle, largeArcFlag, sweepFlag)
-    {
-        ScriptWrappable::init(this);
-    }
+        : SVGPathSegArc(element, x, y, r1, r2, angle, largeArcFlag, sweepFlag) { }
 
-    virtual unsigned short pathSegType() const OVERRIDE { return PATHSEG_ARC_REL; }
-    virtual String pathSegTypeAsLetter() const OVERRIDE { return "a"; }
+    virtual unsigned short pathSegType() const override { return PATHSEG_ARC_REL; }
+    virtual String pathSegTypeAsLetter() const override { return "a"; }
 };
 
 } // namespace blink
 
-#endif
+#endif // SVGPathSegArcRel_h