Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: Source/core/accessibility/AccessibilityMenuListPopup.cpp

Issue 24752002: Cleanup <static_cast>: Switch to toFoo for Accessibility Objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « Source/core/accessibility/AccessibilityMenuListPopup.h ('k') | Source/core/accessibility/AccessibilityObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698