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

Unified Diff: Source/core/accessibility/AccessibilityScrollView.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 | « Source/core/accessibility/AccessibilityRenderObject.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AccessibilityScrollView.cpp
diff --git a/Source/core/accessibility/AccessibilityScrollView.cpp b/Source/core/accessibility/AccessibilityScrollView.cpp
index f9ef6757d5ea35a0a04f06ca47456de29dd7e2df..2ef289818f64e2eafe243b89cbdcd93af510cefb 100644
--- a/Source/core/accessibility/AccessibilityScrollView.cpp
+++ b/Source/core/accessibility/AccessibilityScrollView.cpp
@@ -166,7 +166,7 @@ AccessibilityObject* AccessibilityScrollView::webAreaObject() const
if (!m_scrollView || !m_scrollView->isFrameView())
return 0;
- Document* doc = toFrameView(m_scrollView)->frame()->document();
+ Document* doc = toFrameView(m_scrollView)->frame().document();
if (!doc || !doc->renderer())
return 0;
@@ -208,7 +208,7 @@ AccessibilityObject* AccessibilityScrollView::parentObject() const
if (!m_scrollView || !m_scrollView->isFrameView())
return 0;
- HTMLFrameOwnerElement* owner = toFrameView(m_scrollView)->frame()->ownerElement();
+ HTMLFrameOwnerElement* owner = toFrameView(m_scrollView)->frame().ownerElement();
if (owner && owner->renderer())
return axObjectCache()->getOrCreate(owner);
@@ -220,7 +220,7 @@ AccessibilityObject* AccessibilityScrollView::parentObjectIfExists() const
if (!m_scrollView || !m_scrollView->isFrameView())
return 0;
- HTMLFrameOwnerElement* owner = toFrameView(m_scrollView)->frame()->ownerElement();
+ HTMLFrameOwnerElement* owner = toFrameView(m_scrollView)->frame().ownerElement();
if (owner && owner->renderer())
return axObjectCache()->get(owner);
« no previous file with comments | « Source/core/accessibility/AccessibilityRenderObject.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698