summaryrefslogtreecommitdiffstats
path: root/WebCore/accessibility/AccessibilityImageMapLink.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/accessibility/AccessibilityImageMapLink.cpp')
-rw-r--r--WebCore/accessibility/AccessibilityImageMapLink.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/WebCore/accessibility/AccessibilityImageMapLink.cpp b/WebCore/accessibility/AccessibilityImageMapLink.cpp
index 9b77400..870efe3 100644
--- a/WebCore/accessibility/AccessibilityImageMapLink.cpp
+++ b/WebCore/accessibility/AccessibilityImageMapLink.cpp
@@ -59,7 +59,7 @@ AccessibilityObject* AccessibilityImageMapLink::parentObject() const
if (m_parent)
return m_parent;
- if (!m_mapElement || !m_mapElement->renderer())
+ if (!m_mapElement.get() || !m_mapElement->renderer())
return 0;
return m_mapElement->document()->axObjectCache()->getOrCreate(m_mapElement->renderer());
@@ -84,12 +84,12 @@ Element* AccessibilityImageMapLink::actionElement() const
Element* AccessibilityImageMapLink::anchorElement() const
{
- return m_areaElement;
+ return m_areaElement.get();
}
KURL AccessibilityImageMapLink::url() const
{
- if (!m_areaElement)
+ if (!m_areaElement.get())
return KURL();
return m_areaElement->href();
@@ -121,7 +121,7 @@ String AccessibilityImageMapLink::title() const
IntRect AccessibilityImageMapLink::elementRect() const
{
- if (!m_mapElement || !m_areaElement)
+ if (!m_mapElement.get() || !m_areaElement.get())
return IntRect();
RenderObject* renderer;