| Index: Source/core/accessibility/AXObjectCache.cpp
|
| diff --git a/Source/core/accessibility/AXObjectCache.cpp b/Source/core/accessibility/AXObjectCache.cpp
|
| index ad6a5cdba943a72401a977b6a54667d11e3049b3..4d93f0b5a48c8042300d36384037b5aa585d5a29 100644
|
| --- a/Source/core/accessibility/AXObjectCache.cpp
|
| +++ b/Source/core/accessibility/AXObjectCache.cpp
|
| @@ -167,7 +167,7 @@ AXObject* AXObjectCache::focusedUIElementForPage(const Page* page)
|
| if (!focusedNode)
|
| focusedNode = focusedDocument;
|
|
|
| - if (focusedNode->hasTagName(areaTag))
|
| + if (isHTMLAreaElement(*focusedNode))
|
| return focusedImageMapUIElement(toHTMLAreaElement(focusedNode));
|
|
|
| AXObject* obj = focusedNode->document().axObjectCache()->getOrCreate(focusedNode);
|
|
|