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

Unified Diff: third_party/WebKit/Source/core/frame/RemoteFrameView.cpp

Issue 2849403002: Use const ref for LocalFrame::LocalFrameRoot and FrameTree::Top (Closed)
Patch Set: Created 3 years, 8 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: third_party/WebKit/Source/core/frame/RemoteFrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrameView.cpp b/third_party/WebKit/Source/core/frame/RemoteFrameView.cpp
index b2bc577dee70f3ddae7748c33a02e5a006dee058..d4dc05f1df4f18f4e55d2809f2bb9b3aa10a3558 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/RemoteFrameView.cpp
@@ -47,7 +47,7 @@ void RemoteFrameView::UpdateRemoteViewportIntersection() {
return;
FrameView* local_root_view =
- ToLocalFrame(remote_frame_->Tree().Parent())->LocalFrameRoot()->View();
+ ToLocalFrame(remote_frame_->Tree().Parent())->LocalFrameRoot().View();
if (!local_root_view)
return;

Powered by Google App Engine
This is Rietveld 408576698