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 65459ad8cdf2cb99ee42abe8c36a8fbf27494c6c..31d1e597b89fc94d702efa2799a531f8622c1551 100644 |
--- a/content/browser/accessibility/browser_accessibility_win.cc |
+++ b/content/browser/accessibility/browser_accessibility_win.cc |
@@ -3358,11 +3358,10 @@ void BrowserAccessibilityWin::InitRoleAndState() { |
ia_state_ |= STATE_SYSTEM_TRAVERSED; |
if (!HasState(ui::AX_STATE_ENABLED)) |
ia_state_ |= STATE_SYSTEM_UNAVAILABLE; |
- if (HasState(ui::AX_STATE_VERTICAL)) { |
+ if (HasState(ui::AX_STATE_VERTICAL)) |
ia2_state_ |= IA2_STATE_VERTICAL; |
- } else { |
+ if (HasState(ui::AX_STATE_HORIZONTAL)) |
ia2_state_ |= IA2_STATE_HORIZONTAL; |
- } |
if (HasState(ui::AX_STATE_VISITED)) |
ia_state_ |= STATE_SYSTEM_TRAVERSED; |