Chromium Code Reviews| 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..74f51734c4b04d7dce01d54e136fc4da19e3a5e9 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 { |
|
abarth-chromium
2013/05/20 21:09:06
This shouldn't be indented.
Tom Sepez
2013/05/20 21:15:04
Done.
|
| 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; |