Index: Source/core/accessibility/AccessibilityMenuListPopup.cpp |
diff --git a/Source/core/accessibility/AccessibilityMenuListPopup.cpp b/Source/core/accessibility/AccessibilityMenuListPopup.cpp |
index 53fe8fdbcc1c63a5699f6ade9be0a3aa971f0f05..836959ea84d29838718a3a4652bb1f5c9280b58f 100644 |
--- a/Source/core/accessibility/AccessibilityMenuListPopup.cpp |
+++ b/Source/core/accessibility/AccessibilityMenuListPopup.cpp |
@@ -72,7 +72,7 @@ AccessibilityMenuListOption* AccessibilityMenuListPopup::menuListOptionAccessibi |
AccessibilityObject* object = document()->axObjectCache()->getOrCreate(MenuListOptionRole); |
ASSERT_WITH_SECURITY_IMPLICATION(object->isMenuListOption()); |
- AccessibilityMenuListOption* option = static_cast<AccessibilityMenuListOption*>(object); |
+ AccessibilityMenuListOption* option = toAccessibilityMenuListOption(object); |
option->setElement(element); |
return option; |