Index: third_party/WebKit/Source/core/editing/DragCaret.cpp |
diff --git a/third_party/WebKit/Source/core/editing/DragCaret.cpp b/third_party/WebKit/Source/core/editing/DragCaret.cpp |
index d3620bca3e272e627a56d0ea52ff027793e71a33..5cb4516dbd6e1c97b94733ab79b8d0fba86ac5db 100644 |
--- a/third_party/WebKit/Source/core/editing/DragCaret.cpp |
+++ b/third_party/WebKit/Source/core/editing/DragCaret.cpp |
@@ -82,7 +82,6 @@ void DragCaret::NodeChildrenWillBeRemoved(ContainerNode& container) { |
return; |
if (!container.IsShadowIncludingInclusiveAncestorOf(anchor_node)) |
return; |
- position_.GetDocument()->GetLayoutViewItem().ClearSelection(); |
Clear(); |
} |
@@ -94,7 +93,6 @@ void DragCaret::NodeWillBeRemoved(Node& node) { |
return; |
if (!node.IsShadowIncludingInclusiveAncestorOf(anchor_node)) |
return; |
- position_.GetDocument()->GetLayoutViewItem().ClearSelection(); |
Clear(); |
} |