Commit 5b0477e2 authored by oliver@apple.com's avatar oliver@apple.com

Fix http://bugs.webkit.org/show_bug.cgi?id=16816 , rdar://problem/5682985

Reviewed by Mitz

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.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@29681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 45b9914b
2008-01-20 Oliver Hunt <oliver@apple.com>
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 <mitz@apple.com>
Reviewed by Darin Adler.
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment