diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog index ba3c2b6091363088b92a80be51f060b4585a6cd3..aedf2bee163c0240a5dd929e6fff1a3e124e17e5 100644 --- a/WebCore/ChangeLog +++ b/WebCore/ChangeLog @@ -1,3 +1,16 @@ +2008-01-20 Oliver Hunt + + Reviewed by Mitz. + + Fix http://bugs.webkit.org/show_bug.cgi?id=16816 , rdar://problem/5682985 + + Correctly trigger willPerformDragDestinationAction when a drop causes a + load to occur. The logic that originally did this was lost during the + great drag migration of '07. + + * page/DragController.cpp: + (WebCore::DragController::performDrag): + 2008-01-20 Dan Bernstein Reviewed by Darin Adler. diff --git a/WebCore/page/DragController.cpp b/WebCore/page/DragController.cpp index ecca5e764024918bb2bf7fb74d8199d475fd2675..ebbbfeaf662758a17e017653a3e6f3bc45339c4f 100644 --- a/WebCore/page/DragController.cpp +++ b/WebCore/page/DragController.cpp @@ -200,7 +200,8 @@ bool DragController::performDrag(DragData* dragData) if (operationForLoad(dragData) == DragOperationNone) return false; - + + m_client->willPerformDragDestinationAction(DragDestinationActionLoad, dragData); m_page->mainFrame()->loader()->load(ResourceRequest(dragData->asURL())); return true; }