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

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: 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..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;
« 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