| 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 3ffdd07b1cb777aeb7d62b2fed3220872f9e27f0..9426f094bec86f7853499e4c4715f42d0d622288 100644
|
| --- a/third_party/WebKit/Source/core/page/DragController.cpp
|
| +++ b/third_party/WebKit/Source/core/page/DragController.cpp
|
| @@ -572,7 +572,10 @@ bool DragController::concludeEditDrag(DragData* dragData) {
|
| return false;
|
| }
|
| Range* range = createRange(dragCaret.toNormalizedEphemeralRange());
|
| - Element* rootEditableElement = innerFrame->selection().rootEditableElement();
|
| + Element* rootEditableElement =
|
| + innerFrame->selection()
|
| + .computeVisibleSelectionInDOMTreeDeprecated()
|
| + .rootEditableElement();
|
|
|
| // For range to be null a WebKit client must have done something bad while
|
| // manually controlling drag behaviour
|
|
|