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

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

Issue 179163004: Have Document::topDocument() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/AXRenderObject.cpp
diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp
index 85d783df9aea2ee43f2f1f7f8303d069a2098a27..07afd3e6d65835330a3370ce92f46f933ba6988b 100644
--- a/Source/core/accessibility/AXRenderObject.cpp
+++ b/Source/core/accessibility/AXRenderObject.cpp
@@ -231,7 +231,7 @@ Document* AXRenderObject::topDocument() const
{
if (!document())
return 0;
- return document()->topDocument();
+ return &document()->topDocument();
}
bool AXRenderObject::shouldNotifyActiveDescendant() const

Powered by Google App Engine
This is Rietveld 408576698