Bug 19757: Crash when an ondragstart handler hides the element
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 20 Jul 2008 21:31:49 +0000 (21:31 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 20 Jul 2008 21:31:49 +0000 (21:31 +0000)
commitb3a6cfc28a47a254fba9d902d29bbb0a4917b039
treed36a27992e3c91d721f54f2814f420eedf04f7cd
parent7565fbd7a9b34f00aa8464c5d3e6e8d324b9e727
Bug 19757: Crash when an ondragstart handler hides the element
<https://bugs.webkit.org/show_bug.cgi?id=19757>

Reviewed by Dan Bernstein.

The solution to this is problem is just to null check the renderer
immediately before launching the system drag, and terminate the
drag if the renderer is gone.

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