Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: WebCore/accessibility/AccessibilityImageMapLink.cpp

Issue 5543004: Merge 72969 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « WebCore/accessibility/AccessibilityImageMapLink.h ('k') | WebCore/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « WebCore/accessibility/AccessibilityImageMapLink.h ('k') | WebCore/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698