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

Unified Diff: Source/modules/accessibility/AXImageMapLink.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months 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 | « Source/core/testing/Internals.cpp ('k') | Source/modules/accessibility/AXLayoutObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXImageMapLink.cpp
diff --git a/Source/modules/accessibility/AXImageMapLink.cpp b/Source/modules/accessibility/AXImageMapLink.cpp
index 68eeb24af2de62999ec690ba5b6f070a4c67c4be..2107ed793ca6dc4e3ac0fd037cf919297e96909f 100644
--- a/Source/modules/accessibility/AXImageMapLink.cpp
+++ b/Source/modules/accessibility/AXImageMapLink.cpp
@@ -64,10 +64,10 @@ AXObject* AXImageMapLink::computeParent() const
if (m_parent)
return m_parent;
- if (!m_mapElement.get() || !m_mapElement->renderer())
+ if (!m_mapElement.get() || !m_mapElement->layoutObject())
return 0;
- return axObjectCache()->getOrCreate(m_mapElement->renderer());
+ return axObjectCache()->getOrCreate(m_mapElement->layoutObject());
}
AccessibilityRole AXImageMapLink::roleValue() const
@@ -131,9 +131,9 @@ LayoutRect AXImageMapLink::elementRect() const
LayoutObject* layoutObject;
if (m_parent && m_parent->isAXLayoutObject())
- layoutObject = toAXLayoutObject(m_parent)->renderer();
+ layoutObject = toAXLayoutObject(m_parent)->layoutObject();
else
- layoutObject = m_mapElement->renderer();
+ layoutObject = m_mapElement->layoutObject();
if (!layoutObject)
return LayoutRect();
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/modules/accessibility/AXLayoutObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698