summaryrefslogtreecommitdiffstats
path: root/WebCore/html
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2009-12-09 08:56:19 -0500
committerPatrick Scott <phanna@android.com>2009-12-09 08:56:19 -0500
commit85893753155358c7010c212d5a5c651d240b7351 (patch)
tree0074fb0c831689ac144278bece0f80aede96cb36 /WebCore/html
parent1d68587ce0a52acb0cb724ac362cee0a14bf1e8f (diff)
downloadexternal_webkit-85893753155358c7010c212d5a5c651d240b7351.zip
external_webkit-85893753155358c7010c212d5a5c651d240b7351.tar.gz
external_webkit-85893753155358c7010c212d5a5c651d240b7351.tar.bz2
Pull down change 51321 from webkit.org.
Calls to EventNames() was causing multiple copies of the event names to be created. This could cause false negatives in hash map lookups.
Diffstat (limited to 'WebCore/html')
-rw-r--r--WebCore/html/HTMLFormControlElement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/HTMLFormControlElement.cpp b/WebCore/html/HTMLFormControlElement.cpp
index ea46980..96ecc7d 100644
--- a/WebCore/html/HTMLFormControlElement.cpp
+++ b/WebCore/html/HTMLFormControlElement.cpp
@@ -291,7 +291,7 @@ bool HTMLFormControlElement::willValidate() const
bool HTMLFormControlElement::checkValidity()
{
if (willValidate() && !isValidFormControlElement()) {
- dispatchEvent(Event::create(EventNames().invalidEvent, false, true));
+ dispatchEvent(Event::create(eventNames().invalidEvent, false, true));
return false;
}