| Index: Source/core/page/DragController.cpp
|
| diff --git a/Source/core/page/DragController.cpp b/Source/core/page/DragController.cpp
|
| index a7668bd5174211d56272a8a811e84f4ff36c1f87..0dbef2f8526253b518db14004b59f12492dba45e 100644
|
| --- a/Source/core/page/DragController.cpp
|
| +++ b/Source/core/page/DragController.cpp
|
| @@ -812,8 +812,12 @@ bool DragController::startDrag(Frame* src, const DragState& state, DragOperation
|
| }
|
| doSystemDrag(dragImage, dragLoc, mouseDraggedPoint, clipboard, src, true);
|
| } else if (state.m_dragType == DragSourceActionDHTML) {
|
| - ASSERT(m_dragSourceAction & DragSourceActionDHTML);
|
| - doSystemDrag(dragImage, dragLoc, dragOrigin, clipboard, src, false);
|
| + if (dragImage) {
|
| + ASSERT(m_dragSourceAction & DragSourceActionDHTML);
|
| + doSystemDrag(dragImage, dragLoc, dragOrigin, clipboard, src, false);
|
| + } else {
|
| + startedDrag = false;
|
| + }
|
| } else {
|
| // draggableNode() determined an image or link node was draggable, but it turns out the
|
| // image or link had no URL, so there is nothing to drag.
|
|
|