| Index: third_party/WebKit/Source/core/editing/DragCaretController.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/DragCaretController.cpp b/third_party/WebKit/Source/core/editing/DragCaretController.cpp
|
| index 6a509589570acb71eff7469f23641c105b8c16a8..fe7795643e8685bc435ec1c9a3e6ef5596f77564 100644
|
| --- a/third_party/WebKit/Source/core/editing/DragCaretController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/DragCaretController.cpp
|
| @@ -81,7 +81,7 @@ static bool removingNodeRemovesPosition(Node& node, const Position& position)
|
| return false;
|
|
|
| Element& element = toElement(node);
|
| - return element.containsIncludingShadowDOM(position.anchorNode());
|
| + return element.isShadowIncludingInclusiveAncestorOf(position.anchorNode());
|
| }
|
|
|
| void DragCaretController::nodeWillBeRemoved(Node& node)
|
|
|