#include "config.h"
#include "core/accessibility/AXImageMapLink.h"
-#include "core/accessibility/AXObjectCache.h"
+#include "core/accessibility/AXObjectCacheImpl.h"
#include "core/accessibility/AXRenderObject.h"
namespace blink {
return adoptRef(new AXImageMapLink());
}
-AXObject* AXImageMapLink::parentObject() const
+AXObject* AXImageMapLink::computeParent() const
{
if (m_parent)
return m_parent;
if (!m_mapElement.get() || !m_mapElement->renderer())
return 0;
- return m_mapElement->document().axObjectCache()->getOrCreate(m_mapElement->renderer());
+ return toAXObjectCacheImpl(m_mapElement->document().axObjectCache())->getOrCreate(m_mapElement->renderer());
}
AccessibilityRole AXImageMapLink::roleValue() const