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

Unified Diff: ash/system/user/user_card_view.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: ash/system/user/user_card_view.cc
diff --git a/ash/system/user/user_card_view.cc b/ash/system/user/user_card_view.cc
index 2844cd8c322c8c67fb5c09ef5605e10330e19f50..1b545e0a1d0d0467a50388c0ee922b3b46951280 100644
--- a/ash/system/user/user_card_view.cc
+++ b/ash/system/user/user_card_view.cc
@@ -324,6 +324,7 @@ void UserCardView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
descendants.pop_front();
if (view != this) {
ui::AXNodeData descendant_data;
+ descendant_data.ClearBitfields();
view->GetAccessibleNodeData(&descendant_data);
base::string16 label =
descendant_data.GetString16Attribute(ui::AX_ATTR_NAME);

Powered by Google App Engine
This is Rietveld 408576698