2011-04-10 Alice Boxhall <aboxhall@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Apr 2011 02:21:40 +0000 (02:21 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Apr 2011 02:21:40 +0000 (02:21 +0000)
commit9c29a75e3e8a57a22a6d37b2730390fd41fa4d69
treedadd2b4b708e5ea911c4096d05704d9b09ab92b8
parentbd7e95bf6bd70c841ba56a94838d6a4b2fc59212
2011-04-10  Alice Boxhall  <aboxhall@chromium.org>

        Reviewed by Ryosuke Niwa.

        Change EventHandler::updateSelectionForMouseDrag to take a HitTestResult only.
        https://bugs.webkit.org/show_bug.cgi?id=57923

        Change EventHandler::updateSelectionForMouseDrag to take a HitTestResult
        rather than a Node* and an IntPoint&, as the selection may actually not
        extend into the Node found by the HitTest.

        No new tests. Refactoring only.

        * page/EventHandler.cpp:
        (WebCore::EventHandler::handleMouseDraggedEvent):
        (WebCore::EventHandler::updateSelectionForMouseDrag):
        * page/EventHandler.h:

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