Index: third_party/WebKit/Source/core/page/DragController.cpp |
diff --git a/third_party/WebKit/Source/core/page/DragController.cpp b/third_party/WebKit/Source/core/page/DragController.cpp |
index 4622e1d96acb0398dfaba2deea2d3311fe8b62c4..9483dab469c5f2a40082349255947b8dff86d795 100644 |
--- a/third_party/WebKit/Source/core/page/DragController.cpp |
+++ b/third_party/WebKit/Source/core/page/DragController.cpp |
@@ -199,7 +199,8 @@ static DocumentFragment* documentFragmentFromDragData( |
bool DragController::dragIsMove(FrameSelection& selection, DragData* dragData) { |
return m_documentUnderMouse == m_dragInitiator && |
- selection.isContentEditable() && selection.isRange() && |
+ selection.isContentEditable() && |
+ selection.computeVisibleSelectionInDOMTreeDeprecated().isRange() && |
!isCopyKeyDown(dragData); |
} |