Index: Source/core/svg/properties/SVGAnimatedPropertyTearOff.h |
diff --git a/Source/core/svg/properties/SVGAnimatedPropertyTearOff.h b/Source/core/svg/properties/SVGAnimatedPropertyTearOff.h |
index 0a9dc3a28bbd48387ba0500c5ed5c35288e83e23..c425b3b67bd03943fd6bc31cd68b14d5832e9c05 100644 |
--- a/Source/core/svg/properties/SVGAnimatedPropertyTearOff.h |
+++ b/Source/core/svg/properties/SVGAnimatedPropertyTearOff.h |
@@ -20,13 +20,14 @@ |
#ifndef SVGAnimatedPropertyTearOff_h |
#define SVGAnimatedPropertyTearOff_h |
+#include "bindings/v8/ScriptWrappable.h" |
#include "core/svg/properties/SVGAnimatedProperty.h" |
#include "core/svg/properties/SVGPropertyTearOff.h" |
namespace WebCore { |
template<typename PropertyType> |
-class SVGAnimatedPropertyTearOff : public SVGAnimatedProperty { |
+class SVGAnimatedPropertyTearOff : public SVGAnimatedProperty, public ScriptWrappable { |
public: |
typedef SVGPropertyTearOff<PropertyType> PropertyTearOff; |
typedef PropertyType ContentType; |
@@ -110,6 +111,7 @@ private: |
: SVGAnimatedProperty(contextElement, attributeName, animatedPropertyType) |
, m_property(property) |
{ |
+ ScriptWrappable::init(this); |
} |
PropertyType& m_property; |