Index: Source/WebCore/svg/SVGSwitchElement.cpp |
diff --git a/Source/WebCore/svg/SVGSwitchElement.cpp b/Source/WebCore/svg/SVGSwitchElement.cpp |
index 8314f9727a4cdd8c67856c2a098db6af210c5975..31e5cdab9fe772cb32b682c82495c4cbce67f3c8 100644 |
--- a/Source/WebCore/svg/SVGSwitchElement.cpp |
+++ b/Source/WebCore/svg/SVGSwitchElement.cpp |
@@ -42,6 +42,7 @@ inline SVGSwitchElement::SVGSwitchElement(const QualifiedName& tagName, Document |
: SVGStyledTransformableElement(tagName, document) |
{ |
ASSERT(hasTagName(SVGNames::switchTag)); |
+ ScriptWrappable::init(this); |
registerAnimatedPropertiesForSVGSwitchElement(); |
} |