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

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

Issue 24253004: Cleanup: Start using toFoo methods as part of newly adopted coding guideline. (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/AccessibilityImageMapLink.cpp
diff --git a/Source/core/accessibility/AccessibilityImageMapLink.cpp b/Source/core/accessibility/AccessibilityImageMapLink.cpp
index 312548ecf1b199565f8f0a1da129151757667a36..cc7e052fc9d92d7145d8ffc268dedd678702a8d8 100644
--- a/Source/core/accessibility/AccessibilityImageMapLink.cpp
+++ b/Source/core/accessibility/AccessibilityImageMapLink.cpp
@@ -145,7 +145,7 @@ LayoutRect AccessibilityImageMapLink::elementRect() const
RenderObject* renderer;
if (m_parent && m_parent->isAccessibilityRenderObject())
- renderer = static_cast<AccessibilityRenderObject*>(m_parent)->renderer();
+ renderer = toAccessibilityRenderObject(m_parent)->renderer();
else
renderer = m_mapElement->renderer();
« no previous file with comments | « Source/core/accessibility/AccessibilityARIAGridRow.cpp ('k') | Source/core/accessibility/AccessibilityMenuList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698