Index: content/renderer/accessibility/blink_ax_tree_source.cc |
diff --git a/content/renderer/accessibility/blink_ax_tree_source.cc b/content/renderer/accessibility/blink_ax_tree_source.cc |
index 78ea801b189e79df33b96c32592970c470eb9452..9ea0112207e559c5a66c784d79256c397a294bf6 100644 |
--- a/content/renderer/accessibility/blink_ax_tree_source.cc |
+++ b/content/renderer/accessibility/blink_ax_tree_source.cc |
@@ -356,9 +356,7 @@ void BlinkAXTreeSource::SerializeNode(blink::WebAXObject src, |
dst->html_attributes.push_back(std::make_pair(name, value)); |
} |
- if (!src.isReadOnly() || |
- dst->role == ui::AX_ROLE_TEXT_AREA || |
- dst->role == ui::AX_ROLE_TEXT_FIELD) { |
+ if (!src.isReadOnly() || dst->role == ui::AX_ROLE_TEXT_FIELD) { |
dst->AddIntAttribute(ui::AX_ATTR_TEXT_SEL_START, src.selectionStart()); |
dst->AddIntAttribute(ui::AX_ATTR_TEXT_SEL_END, src.selectionEnd()); |