2007-01-24 Oliver Hunt <oliver@apple.com>
authoroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Jan 2007 22:40:47 +0000 (22:40 +0000)
committeroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Jan 2007 22:40:47 +0000 (22:40 +0000)
commitc489bfc6e213467908ae8f209cc6953c8ddf8f1c
tree34c9ddea11f16c26997f48e811f7225f938afbd3
parent651c3c7d9b47edcd8702be2f0826cc9d2033a8a9
2007-01-24  Oliver Hunt  <oliver@apple.com>

        Reviewed by Adele.

        Fixes DragController to allow a null target Document.
        This is encountered in new tabs/windows that have not
        loaded any page (including about:blank)

        * page/DragController.cpp:
        (WebCore::documentAtPoint):
        (WebCore::DragController::tryDocumentDrag):
        (WebCore::DragController::operationForLoad):
        (WebCore::DragController::concludeDrag):
        * page/mac/DragControllerMac.mm:
        (WebCore::DragController::dragOperation):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/DragController.cpp
WebCore/page/mac/DragControllerMac.mm