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

Unified Diff: chrome/browser/ui/aura/accessibility/ax_tree_source_aura.cc

Issue 2860883003: A11y: Add/refactor methods for manipulating bitfields on AXNodeData. (Closed)
Patch Set: Revert comment. Created 3 years, 7 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: chrome/browser/ui/aura/accessibility/ax_tree_source_aura.cc
diff --git a/chrome/browser/ui/aura/accessibility/ax_tree_source_aura.cc b/chrome/browser/ui/aura/accessibility/ax_tree_source_aura.cc
index 4db249c1873d789e59689851cf40b88f978cbb45..2e282769f9c6bb3df0a662a92475bb279312655b 100644
--- a/chrome/browser/ui/aura/accessibility/ax_tree_source_aura.cc
+++ b/chrome/browser/ui/aura/accessibility/ax_tree_source_aura.cc
@@ -123,6 +123,7 @@ void AXTreeSourceAura::SerializeNode(AXAuraObjWrapper* node,
std::string AXTreeSourceAura::ToString(AXAuraObjWrapper* root,
std::string prefix) {
ui::AXNodeData data;
+ data.ClearBitfields();
root->Serialize(&data);
std::string output = prefix + data.ToString() + '\n';

Powered by Google App Engine
This is Rietveld 408576698