Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1457)

Unified Diff: Source/core/svg/properties/SVGAnimatedPropertyTearOff.h

Issue 15492007: Make SVG objects ScriptWrappable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix indent Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGViewSpec.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/svg/SVGViewSpec.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698