| Index: Source/core/svg/SVGElement.cpp
|
| diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
|
| index a567999d9cafb910faacd4b635e881214b46b36a..a2c5200b10824f0c7a86130c795d1b8da726059f 100644
|
| --- a/Source/core/svg/SVGElement.cpp
|
| +++ b/Source/core/svg/SVGElement.cpp
|
| @@ -675,7 +675,7 @@ void SVGElement::parseAttribute(const QualifiedName& name, const AtomicString& v
|
| // standard events
|
| const AtomicString& eventName = HTMLElement::eventNameForAttributeName(name);
|
| if (!eventName.isNull())
|
| - setAttributeEventListener(eventName, createAttributeEventListener(this, name, value));
|
| + setAttributeEventListener(eventName, createAttributeEventListener(this, name, value, eventParameterName()));
|
| else
|
| Element::parseAttribute(name, value);
|
| }
|
| @@ -1176,4 +1176,10 @@ void SVGElement::trace(Visitor* visitor)
|
| Element::trace(visitor);
|
| }
|
|
|
| +const AtomicString& SVGElement::eventParameterName()
|
| +{
|
| + DEFINE_STATIC_LOCAL(const AtomicString, evtString, ("evt", AtomicString::ConstructFromLiteral));
|
| + return evtString;
|
| +}
|
| +
|
| }
|
|
|