Index: WebCore/accessibility/AccessibilityImageMapLink.cpp |
=================================================================== |
--- WebCore/accessibility/AccessibilityImageMapLink.cpp (revision 73160) |
+++ WebCore/accessibility/AccessibilityImageMapLink.cpp (working copy) |
@@ -59,7 +59,7 @@ |
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::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 @@ |
IntRect AccessibilityImageMapLink::elementRect() const |
{ |
- if (!m_mapElement || !m_areaElement) |
+ if (!m_mapElement.get() || !m_areaElement.get()) |
return IntRect(); |
RenderObject* renderer; |