Index: content/renderer/accessibility/blink_ax_enum_conversion.cc |
diff --git a/content/renderer/accessibility/blink_ax_enum_conversion.cc b/content/renderer/accessibility/blink_ax_enum_conversion.cc |
index 3f201cce3322857a5b6e564850b887af28386f80..da0f630c9206b609fba9ecdbcaeb55e802d6db62 100644 |
--- a/content/renderer/accessibility/blink_ax_enum_conversion.cc |
+++ b/content/renderer/accessibility/blink_ax_enum_conversion.cc |
@@ -73,8 +73,10 @@ uint32 AXStateFromBlink(const blink::WebAXObject& o) { |
if (o.isEnabled()) |
state |= (1 << ui::AX_STATE_ENABLED); |
- if (o.isVertical()) |
+ if (o.orientation() == blink::WebAXOrientationVertical) |
state |= (1 << ui::AX_STATE_VERTICAL); |
+ else if (o.orientation() == blink::WebAXOrientationHorizontal) |
+ state |= (1 << ui::AX_STATE_HORIZONTAL); |
if (o.isVisited()) |
state |= (1 << ui::AX_STATE_VISITED); |