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(); |