Index: Source/modules/accessibility/AXProgressIndicator.cpp |
diff --git a/Source/modules/accessibility/AXProgressIndicator.cpp b/Source/modules/accessibility/AXProgressIndicator.cpp |
index c1411e29be7ebca82ff7d007557123434ca4cfab..77e15a39f55ad00d5dcd03df6a028644c988c46f 100644 |
--- a/Source/modules/accessibility/AXProgressIndicator.cpp |
+++ b/Source/modules/accessibility/AXProgressIndicator.cpp |
@@ -40,11 +40,10 @@ PassRefPtr<AXProgressIndicator> AXProgressIndicator::create(LayoutProgress* layo |
return adoptRef(new AXProgressIndicator(layoutObject, axObjectCache)); |
} |
-AccessibilityRole AXProgressIndicator::roleValue() const |
+AccessibilityRole AXProgressIndicator::determineAccessibilityRole() |
{ |
- AccessibilityRole ariaRole = ariaRoleAttribute(); |
- if (ariaRole != UnknownRole) |
- return ariaRole; |
+ if ((m_ariaRole = determineAriaRoleAttribute()) != UnknownRole) |
+ return m_ariaRole; |
return ProgressIndicatorRole; |
} |