-
tony@chromium.org authored
Reviewed by Tony Chang. Dragging and dropping into an empty document crashes WebKit. https://bugs.webkit.org/show_bug.cgi?id=48793 Remove the assert and update callers to check for a null return value. Test: manual-tests/drop-in-empty-doc.html * manual-tests/drop-in-empty-doc.html: Added. * manual-tests/resources/drop-in-empty-doc.xhtml: Added. * page/DragController.cpp: (WebCore::elementUnderMouse): (WebCore::DragController::tryDocumentDrag): (WebCore::DragController::concludeEditDrag): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8e70816b