| 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 396a013fc845b728378c9ebaef56e17ff9831d41..3860aa9202728a31c78b2805e36df339f64f50ad 100644
|
| --- a/content/renderer/accessibility/blink_ax_tree_source.cc
|
| +++ b/content/renderer/accessibility/blink_ax_tree_source.cc
|
| @@ -433,7 +433,7 @@ void BlinkAXTreeSource::SerializeNode(blink::WebAXObject src,
|
| // The following set of attributes are only accessed when the accessibility
|
| // mode is set to screen reader mode, otherwise only the more basic
|
| // attributes are populated.
|
| - if (accessibility_mode_ & ACCESSIBILITY_MODE_FLAG_SCREEN_READER) {
|
| + if (accessibility_mode_ & AccessibilityMode::SCREEN_READER) {
|
| blink::WebString web_placeholder = src.placeholder(nameFrom);
|
| if (!web_placeholder.isEmpty())
|
| dst->AddStringAttribute(ui::AX_ATTR_PLACEHOLDER, web_placeholder.utf8());
|
| @@ -750,7 +750,7 @@ void BlinkAXTreeSource::SerializeNode(blink::WebAXObject src,
|
| WebElement element = node.to<WebElement>();
|
| is_iframe = element.hasHTMLTagName("iframe");
|
|
|
| - if (accessibility_mode_ & ACCESSIBILITY_MODE_FLAG_HTML) {
|
| + if (accessibility_mode_ & AccessibilityMode::HTML) {
|
| // TODO(ctguil): The tagName in WebKit is lower cased but
|
| // HTMLElement::nodeName calls localNameUpper. Consider adding
|
| // a WebElement method that returns the original lower cased tagName.
|
|
|