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 c2ca4ef477543a70210e16cff3f19ff754666ebe..b0d131a6b3df11d13e87ad5ab00cf26b83dd8c3a 100644 |
--- a/content/renderer/accessibility/blink_ax_tree_source.cc |
+++ b/content/renderer/accessibility/blink_ax_tree_source.cc |
@@ -322,9 +322,6 @@ void BlinkAXTreeSource::SerializeNode(blink::WebAXObject src, |
WebElement element = node.to<WebElement>(); |
is_iframe = (element.tagName() == ASCIIToUTF16("IFRAME")); |
- if (LowerCaseEqualsASCII(element.getAttribute("aria-expanded"), "true")) |
- dst->state |= (1 << ui::AX_STATE_EXPANDED); |
- |
// 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. |