Index: Source/core/svg/SVGScriptElement.cpp |
diff --git a/Source/core/svg/SVGScriptElement.cpp b/Source/core/svg/SVGScriptElement.cpp |
index 6216ce9d136cf306fd4cab8d49fe4909ba55e03e..b71c8826222e16547efda127661e636004e52a9e 100644 |
--- a/Source/core/svg/SVGScriptElement.cpp |
+++ b/Source/core/svg/SVGScriptElement.cpp |
@@ -68,7 +68,7 @@ void SVGScriptElement::parseAttribute(const QualifiedName& name, const AtomicStr |
return; |
if (name == HTMLNames::onerrorAttr) { |
- setAttributeEventListener(EventTypeNames::error, createAttributeEventListener(this, name, value)); |
+ setAttributeEventListener(EventTypeNames::error, createAttributeEventListener(this, name, value, eventParameterName())); |
} else if (SVGURIReference::parseAttribute(name, value, parseError)) { |
} else { |
ASSERT_NOT_REACHED(); |