Index: content/browser/accessibility/browser_accessibility_win.cc |
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc |
index a6173c2e63e20fb716facdb1ff4d6a4837382a5c..f51c8420af892973ca2c05b51f5e82c3afe80633 100644 |
--- a/content/browser/accessibility/browser_accessibility_win.cc |
+++ b/content/browser/accessibility/browser_accessibility_win.cc |
@@ -3412,14 +3412,6 @@ void BrowserAccessibilityWin::InitRoleAndState() { |
break; |
case ui::AX_ROLE_BUTTON: |
ia_role_ = ROLE_SYSTEM_PUSHBUTTON; |
- bool is_aria_pressed_defined; |
- bool is_mixed; |
- if (GetAriaTristate("aria-pressed", &is_aria_pressed_defined, &is_mixed)) |
- ia_state_ |= STATE_SYSTEM_PRESSED; |
- if (is_aria_pressed_defined) |
- ia2_role_ = IA2_ROLE_TOGGLE_BUTTON; |
- if (is_mixed) |
- ia_state_ |= STATE_SYSTEM_MIXED; |
break; |
case ui::AX_ROLE_CANVAS: |
if (GetBoolAttribute(ui::AX_ATTR_CANVAS_HAS_FALLBACK)) { |