Index: Source/core/html/HTMLAreaElement.cpp |
diff --git a/Source/core/html/HTMLAreaElement.cpp b/Source/core/html/HTMLAreaElement.cpp |
index c2986812533f591e38273d64d3da93c92d786c5b..87ca99ee912e5fa52242dbe249a9c281daec328a 100644 |
--- a/Source/core/html/HTMLAreaElement.cpp |
+++ b/Source/core/html/HTMLAreaElement.cpp |
@@ -188,7 +188,7 @@ HTMLImageElement* HTMLAreaElement::imageElement() const |
if (!mapElement) |
return 0; |
- return static_cast<HTMLMapElement*>(mapElement)->imageElement(); |
+ return toHTMLMapElement(mapElement)->imageElement(); |
} |
bool HTMLAreaElement::isKeyboardFocusable(KeyboardEvent*) const |