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

Unified Diff: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp

Issue 2919903003: Ensure RemoteViewportIntersection rect persists across frame navigations (Closed)
Patch Set: Created 3 years, 7 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 | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index f44866a44e55bacaf6bad2e52bf31eed49f87766..4a2d7317cccf6cb13ce4355e749f229f3606b2c0 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -768,8 +768,8 @@ void WebFrameWidgetImpl::SetRemoteViewportIntersection(
// Remote viewports are only applicable to local frames with remote ancestors.
DCHECK(local_root_->Parent() && local_root_->Parent()->IsWebRemoteFrame());
- if (local_root_->GetFrameView()) {
- local_root_->GetFrameView()->SetViewportIntersectionFromParent(
+ if (local_root_->GetFrame()) {
+ local_root_->GetFrame()->SetViewportIntersectionFromParent(
viewport_intersection);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698