Index: Source/modules/accessibility/AXListBox.cpp |
diff --git a/Source/modules/accessibility/AXListBox.cpp b/Source/modules/accessibility/AXListBox.cpp |
index 615f58677ab7af62afa945ad3dcc3a46e579e5fa..6c13c63b5f82f37e59a184b14eba5d1154540833 100644 |
--- a/Source/modules/accessibility/AXListBox.cpp |
+++ b/Source/modules/accessibility/AXListBox.cpp |
@@ -55,11 +55,11 @@ PassRefPtr<AXListBox> AXListBox::create(LayoutObject* layoutObject, AXObjectCach |
return adoptRef(new AXListBox(layoutObject, axObjectCache)); |
} |
-AccessibilityRole AXListBox::roleValue() const |
+AccessibilityRole AXListBox::determineAccessibilityRole() |
{ |
- AccessibilityRole ariaRole = ariaRoleAttribute(); |
- if (ariaRole != UnknownRole) |
- return ariaRole; |
+ if ((m_ariaRole = determineAriaRoleAttribute()) != UnknownRole) |
+ return m_ariaRole; |
+ |
return ListBoxRole; |
} |