| Index: third_party/WebKit/Source/core/input/EventHandler.cpp
|
| diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| index 8c2790eee6eed70c0a7c97cedfb7a49c002fa6dd..8f8c124a11c852990af935be9f7adbf65ebb2028 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| +++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| @@ -2606,7 +2606,7 @@ void EventHandler::dragSourceEndedAt(const PlatformMouseEvent& event, DragOperat
|
| void EventHandler::updateDragStateAfterEditDragIfNeeded(Element* rootEditableElement)
|
| {
|
| // If inserting the dragged contents removed the drag source, we still want to fire dragend at the root editble element.
|
| - if (dragState().m_dragSrc && !dragState().m_dragSrc->inShadowIncludingDocument())
|
| + if (dragState().m_dragSrc && !dragState().m_dragSrc->isConnected())
|
| dragState().m_dragSrc = rootEditableElement;
|
| }
|
|
|
|
|