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

Unified Diff: ui/accessibility/ax_node_data.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
Index: ui/accessibility/ax_node_data.cc
diff --git a/ui/accessibility/ax_node_data.cc b/ui/accessibility/ax_node_data.cc
index 0f04517978c944131f8cce87eaa8c12cb85f763c..06c55e923b2811757047b18591d0ff912aeb5db2 100644
--- a/ui/accessibility/ax_node_data.cc
+++ b/ui/accessibility/ax_node_data.cc
@@ -692,9 +692,6 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_LABELLEDBY_IDS:
result += " labelledby_ids=" + IntVectorToString(values);
break;
- case AX_ATTR_LINE_BREAKS:
- result += " line_breaks=" + IntVectorToString(values);
- break;
case AX_ATTR_MARKER_TYPES: {
std::string types_str;
for (size_t i = 0; i < values.size(); ++i) {
@@ -735,6 +732,9 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_CHARACTER_OFFSETS:
result += " character_offsets=" + IntVectorToString(values);
break;
+ case AX_ATTR_CACHED_LINE_STARTS:
+ result += " cached_line_start_offsets=" + IntVectorToString(values);
+ break;
case AX_ATTR_WORD_STARTS:
result += " word_starts=" + IntVectorToString(values);
break;

Powered by Google App Engine
This is Rietveld 408576698