Index: Source/modules/accessibility/AXSlider.cpp |
diff --git a/Source/modules/accessibility/AXSlider.cpp b/Source/modules/accessibility/AXSlider.cpp |
index e1791afaf054d309225ac1cac3a27c6af0b0cd3a..93e204d5dead56eb6851f352f56db426aa93c36a 100644 |
--- a/Source/modules/accessibility/AXSlider.cpp |
+++ b/Source/modules/accessibility/AXSlider.cpp |
@@ -49,11 +49,11 @@ PassRefPtr<AXSlider> AXSlider::create(LayoutObject* layoutObject, AXObjectCacheI |
return adoptRef(new AXSlider(layoutObject, axObjectCache)); |
} |
-AccessibilityRole AXSlider::roleValue() const |
+AccessibilityRole AXSlider::determineAccessibilityRole() |
{ |
- AccessibilityRole ariaRole = ariaRoleAttribute(); |
- if (ariaRole != UnknownRole) |
- return ariaRole; |
+ if ((m_ariaRole = determineAriaRoleAttribute()) != UnknownRole) |
+ return m_ariaRole; |
+ |
return SliderRole; |
} |