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

Unified Diff: Source/core/accessibility/AccessibilitySlider.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/AccessibilitySlider.cpp
diff --git a/Source/core/accessibility/AccessibilitySlider.cpp b/Source/core/accessibility/AccessibilitySlider.cpp
index 12bd7a98bc77e253c1df446523432fcbdc498f9c..5873bd7865c0cba812fb3784c7c1e77ca29aa65e 100644
--- a/Source/core/accessibility/AccessibilitySlider.cpp
+++ b/Source/core/accessibility/AccessibilitySlider.cpp
@@ -83,7 +83,7 @@ void AccessibilitySlider::addChildren()
m_haveChildren = true;
- AXObjectCache* cache = m_renderer->document()->axObjectCache();
+ AXObjectCache* cache = m_renderer->document().axObjectCache();
AccessibilitySliderThumb* thumb = static_cast<AccessibilitySliderThumb*>(cache->getOrCreate(SliderThumbRole));
thumb->setParent(this);
« no previous file with comments | « Source/core/accessibility/AccessibilityRenderObject.cpp ('k') | Source/core/accessibility/AccessibilityTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698