diff options
author | Patrick Scott <phanna@android.com> | 2009-12-09 08:56:19 -0500 |
---|---|---|
committer | Patrick Scott <phanna@android.com> | 2009-12-09 08:56:19 -0500 |
commit | 85893753155358c7010c212d5a5c651d240b7351 (patch) | |
tree | 0074fb0c831689ac144278bece0f80aede96cb36 /WebCore/page | |
parent | 1d68587ce0a52acb0cb724ac362cee0a14bf1e8f (diff) | |
download | external_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/page')
-rw-r--r-- | WebCore/page/DOMWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/page/DOMWindow.cpp b/WebCore/page/DOMWindow.cpp index 8bc8ec4..64aae8d 100644 --- a/WebCore/page/DOMWindow.cpp +++ b/WebCore/page/DOMWindow.cpp @@ -262,7 +262,7 @@ void DOMWindow::dispatchAllPendingUnloadEvents() if (!set.contains(window)) continue; - window->dispatchEvent(PageTransitionEvent::create(EventNames().pagehideEvent, false), window->document()); + window->dispatchEvent(PageTransitionEvent::create(eventNames().pagehideEvent, false), window->document()); window->dispatchEvent(Event::create(eventNames().unloadEvent, false, false), window->document()); } |