Index: ui/accessibility/ax_tree_serializer.h |
diff --git a/ui/accessibility/ax_tree_serializer.h b/ui/accessibility/ax_tree_serializer.h |
index 9c735e0118db1d9cb21b351a16b4b92b78e73ddf..546f95f073c7a0e2967cbd02ee97218ea574c7c4 100644 |
--- a/ui/accessibility/ax_tree_serializer.h |
+++ b/ui/accessibility/ax_tree_serializer.h |
@@ -293,9 +293,7 @@ void AXTreeSerializer<AXSourceNode>::SerializeChanges( |
AXSourceNode lca = LeastCommonAncestor(node); |
if (client_root_) { |
- // If the LCA is anything other than the node itself, tell the |
- // client to first delete the subtree rooted at the LCA. |
- bool need_delete = !tree_->IsEqual(lca, node); |
+ bool need_delete = false; |
if (tree_->IsValid(lca)) { |
// Check for any reparenting within this subtree - if there is |
// any, we need to delete and reserialize the whole subtree |