Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 717d8d43f9997fb12dab13d87ed7c98d243c1f97..83417d36ea0112d774626f44bfb767547ed6ddbf 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -668,7 +668,7 @@ void HTMLInputElement::parseAttribute(const QualifiedName& name, const AtomicStr |
// FIXME: ignore for the moment |
} else if (name == onsearchAttr) { |
// Search field and slider attributes all just cause updateFromElement to be called through style recalcing. |
- setAttributeEventListener(EventTypeNames::search, createAttributeEventListener(this, name, value)); |
+ setAttributeEventListener(EventTypeNames::search, createAttributeEventListener(this, name, value, eventParameterName())); |
} else if (name == resultsAttr) { |
int oldResults = m_maxResults; |
m_maxResults = !value.isNull() ? std::min(value.toInt(), maxSavedResults) : -1; |