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/history | |
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/history')
-rw-r--r-- | WebCore/history/CachedFrame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/history/CachedFrame.cpp b/WebCore/history/CachedFrame.cpp index fe6c31f..a868134 100644 --- a/WebCore/history/CachedFrame.cpp +++ b/WebCore/history/CachedFrame.cpp @@ -103,7 +103,7 @@ void CachedFrameBase::restore() // matches pageshowEvent as in Document::implicitClose() m_document->dispatchWindowLoadEvent(); #endif - m_document->dispatchWindowEvent(PageTransitionEvent::create(EventNames().pageshowEvent, true), m_document); + m_document->dispatchWindowEvent(PageTransitionEvent::create(eventNames().pageshowEvent, true), m_document); } CachedFrame::CachedFrame(Frame* frame) |