Index: Source/core/svg/animation/SVGSMILElement.cpp |
diff --git a/Source/core/svg/animation/SVGSMILElement.cpp b/Source/core/svg/animation/SVGSMILElement.cpp |
index 55ba7471277a107c1de29bfa1d1c0c69615a7b73..01c7c6f842b01efd3a5ca1f9dd6f5f49262a5db4 100644 |
--- a/Source/core/svg/animation/SVGSMILElement.cpp |
+++ b/Source/core/svg/animation/SVGSMILElement.cpp |
@@ -539,11 +539,11 @@ void SVGSMILElement::parseAttribute(const QualifiedName& name, const AtomicStrin |
if (inDocument()) |
connectSyncBaseConditions(); |
} else if (name == SVGNames::onbeginAttr) { |
- setAttributeEventListener(EventTypeNames::beginEvent, createAttributeEventListener(this, name, value)); |
+ setAttributeEventListener(EventTypeNames::beginEvent, createAttributeEventListener(this, name, value, eventParameterName())); |
} else if (name == SVGNames::onendAttr) { |
- setAttributeEventListener(EventTypeNames::endEvent, createAttributeEventListener(this, name, value)); |
+ setAttributeEventListener(EventTypeNames::endEvent, createAttributeEventListener(this, name, value, eventParameterName())); |
} else if (name == SVGNames::onrepeatAttr) { |
- setAttributeEventListener(EventTypeNames::repeatEvent, createAttributeEventListener(this, name, value)); |
+ setAttributeEventListener(EventTypeNames::repeatEvent, createAttributeEventListener(this, name, value, eventParameterName())); |
} else |
SVGElement::parseAttribute(name, value); |
} |