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

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

Issue 23728003: Return Frame&, not Frame* from RenderView::frame() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed PopupMenuTest build Created 7 years, 3 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 | « no previous file | Source/core/accessibility/AccessibilityObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AXObjectCache.cpp
diff --git a/Source/core/accessibility/AXObjectCache.cpp b/Source/core/accessibility/AXObjectCache.cpp
index 6bd2698bd5e2515ac833157300fbbdaaa00d1c44..526c600c82591639c3b47ebf48f580a8d011918f 100644
--- a/Source/core/accessibility/AXObjectCache.cpp
+++ b/Source/core/accessibility/AXObjectCache.cpp
@@ -922,16 +922,16 @@ void AXObjectCache::postPlatformNotification(AccessibilityObject* obj, AXNotific
Scrollbar* scrollBar = static_cast<AccessibilityScrollbar*>(obj)->scrollbar();
if (!scrollBar || !scrollBar->parent() || !scrollBar->parent()->isFrameView())
return;
- Document* document = toFrameView(scrollBar->parent())->frame()->document();
+ Document* document = toFrameView(scrollBar->parent())->frame().document();
if (document != document->topDocument())
return;
obj = get(document->renderer());
}
- if (!obj || !obj->document() || !obj->documentFrameView() || !obj->documentFrameView()->frame() || !obj->documentFrameView()->frame()->page())
+ if (!obj || !obj->document() || !obj->documentFrameView() || !obj->documentFrameView()->frame().page())
return;
- ChromeClient& client = obj->documentFrameView()->frame()->page()->chrome().client();
+ ChromeClient& client = obj->documentFrameView()->frame().page()->chrome().client();
if (notification == AXActiveDescendantChanged
&& obj->document()->focusedElement()
« no previous file with comments | « no previous file | Source/core/accessibility/AccessibilityObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698