Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: ui/accessibility/ax_tree.cc

Issue 332893004: Fix bug where NVDA wouldn't enter browse mode on page load. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@simpler_race_fix
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/accessibility/ax_tree.cc
diff --git a/ui/accessibility/ax_tree.cc b/ui/accessibility/ax_tree.cc
index c0ec9ac8c49f6f5c007872a042e374d47c0f85f1..81799732db0186487fa984f2792ffe04a0cea76a 100644
--- a/ui/accessibility/ax_tree.cc
+++ b/ui/accessibility/ax_tree.cc
@@ -169,6 +169,8 @@ bool AXTree::UpdateNode(
node = new_node;
update_state->new_nodes.insert(node);
node->SetData(src);
+ if (delegate_)
aboxhall 2014/06/12 22:31:45 Suggestion: pull these two lines out below the who
dmazzoni 2014/06/12 23:27:22 Done.
+ delegate_->OnNodeChanged(node);
}
// First, delete nodes that used to be children of this node but aren't

Powered by Google App Engine
This is Rietveld 408576698