Index: Source/core/accessibility/AccessibilityMenuList.cpp |
diff --git a/Source/core/accessibility/AccessibilityMenuList.cpp b/Source/core/accessibility/AccessibilityMenuList.cpp |
index 0cdb6c826234d6994b6a2291ece0072d6377e572..9c282f7630986c8a08f80ada65ac77e8cf16d1d1 100644 |
--- a/Source/core/accessibility/AccessibilityMenuList.cpp |
+++ b/Source/core/accessibility/AccessibilityMenuList.cpp |
@@ -106,7 +106,7 @@ void AccessibilityMenuList::didUpdateActiveOption(int optionIndex) |
ASSERT(childObjects[0]->isMenuListPopup()); |
if (childObjects[0]->isMenuListPopup()) { |
- if (AccessibilityMenuListPopup* popup = static_cast<AccessibilityMenuListPopup*>(childObjects[0].get())) |
+ if (AccessibilityMenuListPopup* popup = toAccessibilityMenuListPopup(childObjects[0].get())) |
popup->didUpdateActiveOption(optionIndex); |
} |
} |