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

Unified Diff: Source/core/accessibility/AccessibilityImageMapLink.cpp

Issue 23819007: Have Node::document() return a reference instead of a pointer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 4 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
Index: Source/core/accessibility/AccessibilityImageMapLink.cpp
diff --git a/Source/core/accessibility/AccessibilityImageMapLink.cpp b/Source/core/accessibility/AccessibilityImageMapLink.cpp
index 6c36cfdf8d120e080c6c54a604af8b3f2cc99aa5..312548ecf1b199565f8f0a1da129151757667a36 100644
--- a/Source/core/accessibility/AccessibilityImageMapLink.cpp
+++ b/Source/core/accessibility/AccessibilityImageMapLink.cpp
@@ -66,7 +66,7 @@ AccessibilityObject* AccessibilityImageMapLink::parentObject() const
if (!m_mapElement.get() || !m_mapElement->renderer())
return 0;
- return m_mapElement->document()->axObjectCache()->getOrCreate(m_mapElement->renderer());
+ return m_mapElement->document().axObjectCache()->getOrCreate(m_mapElement->renderer());
}
AccessibilityRole AccessibilityImageMapLink::roleValue() const
« no previous file with comments | « Source/core/accessibility/AccessibilityARIAGrid.cpp ('k') | Source/core/accessibility/AccessibilityListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698