Index: Source/modules/accessibility/AXListBoxOption.cpp |
diff --git a/Source/modules/accessibility/AXListBoxOption.cpp b/Source/modules/accessibility/AXListBoxOption.cpp |
index ae3e4afc062ed7ef56f56429f8d4ca5289a46083..5523b767039796f28082b211fe95ce77d7845431 100644 |
--- a/Source/modules/accessibility/AXListBoxOption.cpp |
+++ b/Source/modules/accessibility/AXListBoxOption.cpp |
@@ -53,11 +53,10 @@ PassRefPtr<AXListBoxOption> AXListBoxOption::create(LayoutObject* layoutObject, |
return adoptRef(new AXListBoxOption(layoutObject, axObjectCache)); |
} |
-AccessibilityRole AXListBoxOption::roleValue() const |
+AccessibilityRole AXListBoxOption::determineAccessibilityRole() |
{ |
- AccessibilityRole ariaRole = ariaRoleAttribute(); |
- if (ariaRole != UnknownRole) |
- return ariaRole; |
+ if ((m_ariaRole = determineAriaRoleAttribute()) != UnknownRole) |
+ return m_ariaRole; |
// http://www.w3.org/TR/wai-aria/complete#presentation |
// ARIA spec says that the presentation role causes a given element to be treated |