diff options
author | Ben Murdoch <benm@google.com> | 2010-05-05 15:42:24 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2010-05-05 15:42:24 +0100 |
commit | da713c0266664dc15b021e99cca31cadc5bd2bdc (patch) | |
tree | 3df6452aa07661306d520a68c65cb92942e8c86c /WebCore | |
parent | d294ab9957512fd5554d794194d26328840125b4 (diff) | |
download | external_webkit-da713c0266664dc15b021e99cca31cadc5bd2bdc.zip external_webkit-da713c0266664dc15b021e99cca31cadc5bd2bdc.tar.gz external_webkit-da713c0266664dc15b021e99cca31cadc5bd2bdc.tar.bz2 |
Fix a crash caused by navigating away from a page with your finger still down (when the old and new pages have
touch event handlers installed) and then releasing your finger on the new page after WebCore has performed a
garbage collection.
Cherry pick of webkit.org revision 58760.
Bug=2543728
Change-Id: I4c9a896ff81881211746451f49158b7e99eb9166
Diffstat (limited to 'WebCore')
-rw-r--r-- | WebCore/page/EventHandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/page/EventHandler.cpp b/WebCore/page/EventHandler.cpp index 6082cfe..5904934 100644 --- a/WebCore/page/EventHandler.cpp +++ b/WebCore/page/EventHandler.cpp @@ -221,6 +221,9 @@ void EventHandler::clear() m_capturingMouseEventsNode = 0; m_latchedWheelEventNode = 0; m_previousWheelScrolledNode = 0; +#if ENABLE(TOUCH_EVENTS) + m_originatingTouchPointTargets.clear(); +#endif } void EventHandler::selectClosestWordFromMouseEvent(const MouseEventWithHitTestResults& result) |