Crash when sending a wheel event to a node with no shadow ancestor node
authorJon Lee <jonlee@apple.com>
Sat, 7 May 2011 07:08:09 +0000 (07:08 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Thu, 26 May 2011 19:38:51 +0000 (16:38 -0300)
commit6b2f43681ad8f1d8346fc5906236ccfc7a45c362
treef7ec7ce720e6c759d5c207ebca0b7a5f4beaae48
parent4539766889f00d76901a022e99ca0a2d3053e3f7
Crash when sending a wheel event to a node with no shadow ancestor node
https://bugs.webkit.org/show_bug.cgi?id=60429
<rdar://problem/9389619>

Reviewed by Alice Liu.

* page/EventHandler.cpp:
(WebCore::EventHandler::handleWheelEvent):add check to see if the shadow ancestor node of the node that was under the mouse exists before trying to dispatch the wheel event to it.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/EventHandler.cpp