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

Unified Diff: ui/accessibility/ax_tree_combiner.cc

Issue 2301833005: Get rid of AX_LINE_BREAKS attribute to improve performance. (Closed)
Patch Set: Re-worded comment. Created 4 years, 3 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
« ui/accessibility/ax_node.cc ('K') | « ui/accessibility/ax_node_data.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_tree_combiner.cc
diff --git a/ui/accessibility/ax_tree_combiner.cc b/ui/accessibility/ax_tree_combiner.cc
index 0731802512fb2fc79f25812306f9e01fa96c261c..736cc583a157e77159555148582a4b4201a1518f 100644
--- a/ui/accessibility/ax_tree_combiner.cc
+++ b/ui/accessibility/ax_tree_combiner.cc
@@ -82,11 +82,11 @@ bool IsNodeIdIntListAttribute(AXIntListAttribute attr) {
// add a new attribute without explicitly considering whether it's
// a node id attribute or not.
case AX_INT_LIST_ATTRIBUTE_NONE:
- case AX_ATTR_LINE_BREAKS:
case AX_ATTR_MARKER_TYPES:
case AX_ATTR_MARKER_STARTS:
case AX_ATTR_MARKER_ENDS:
case AX_ATTR_CHARACTER_OFFSETS:
+ case AX_ATTR_CACHED_LINE_STARTS:
case AX_ATTR_WORD_STARTS:
case AX_ATTR_WORD_ENDS:
return false;
« ui/accessibility/ax_node.cc ('K') | « ui/accessibility/ax_node_data.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698