Index: content/browser/accessibility/browser_accessibility_android.cc |
diff --git a/content/browser/accessibility/browser_accessibility_android.cc b/content/browser/accessibility/browser_accessibility_android.cc |
index 9bfd68a343175d8505db9081a250d982a5d68013..dcb723fc5e6b15fb0cf5761986f5aecaf6847c9e 100644 |
--- a/content/browser/accessibility/browser_accessibility_android.cc |
+++ b/content/browser/accessibility/browser_accessibility_android.cc |
@@ -445,7 +445,7 @@ int BrowserAccessibilityAndroid::GetItemIndex() const { |
case ui::AX_ROLE_LIST_ITEM: |
case ui::AX_ROLE_LIST_BOX_OPTION: |
case ui::AX_ROLE_TREE_ITEM: |
- index = GetIndexInParent(); |
+ index = GetIntAttribute(ui::AX_ATTR_POS_IN_SET) - 1; |
break; |
case ui::AX_ROLE_SLIDER: |
case ui::AX_ROLE_PROGRESS_INDICATOR: { |