Index: Source/core/svg/SVGPathSeg.h |
diff --git a/Source/core/svg/SVGPathSeg.h b/Source/core/svg/SVGPathSeg.h |
index 878f2c3281b7f68df224a626f18ea7cab5b3e14d..565bfa0e68209d1ffbdf3b34d0860c934a69daf2 100644 |
--- a/Source/core/svg/SVGPathSeg.h |
+++ b/Source/core/svg/SVGPathSeg.h |
@@ -21,8 +21,9 @@ |
#ifndef SVGPathSeg_h |
#define SVGPathSeg_h |
-#include <wtf/RefCounted.h> |
-#include <wtf/text/WTFString.h> |
+#include "bindings/v8/ScriptWrappable.h" |
+#include "wtf/RefCounted.h" |
+#include "wtf/text/WTFString.h" |
namespace WebCore { |
@@ -55,9 +56,13 @@ enum SVGPathSegRole { |
PathSegUndefinedRole = 2 |
}; |
-class SVGPathSeg : public RefCounted<SVGPathSeg> { |
+class SVGPathSeg : public RefCounted<SVGPathSeg>, public ScriptWrappable { |
public: |
- SVGPathSeg() { } |
+ SVGPathSeg() |
+ { |
+ ScriptWrappable::init(this); |
+ } |
+ |
virtual ~SVGPathSeg() { } |
// Forward declare these enums in the w3c naming scheme, for IDL generation |