Index: Source/core/html/HTMLFormElement.cpp |
diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp |
index 566e8c19e40f2aa73d99201f720d2b2f8ff7090b..e0b6cb2393155116f9d5c3cb7d802c930cbeb73f 100644 |
--- a/Source/core/html/HTMLFormElement.cpp |
+++ b/Source/core/html/HTMLFormElement.cpp |
@@ -487,9 +487,9 @@ void HTMLFormElement::parseAttribute(const QualifiedName& name, const AtomicStri |
else if (name == accept_charsetAttr) |
m_attributes.setAcceptCharset(value); |
else if (name == onautocompleteAttr) |
- setAttributeEventListener(EventTypeNames::autocomplete, createAttributeEventListener(this, name, value)); |
+ setAttributeEventListener(EventTypeNames::autocomplete, createAttributeEventListener(this, name, value, eventParameterName())); |
else if (name == onautocompleteerrorAttr) |
- setAttributeEventListener(EventTypeNames::autocompleteerror, createAttributeEventListener(this, name, value)); |
+ setAttributeEventListener(EventTypeNames::autocompleteerror, createAttributeEventListener(this, name, value, eventParameterName())); |
else |
HTMLElement::parseAttribute(name, value); |
} |