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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.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
Index: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index 83ffd574e664ad10da71bbf07e41ebdb07d780fd..6dcb7e64bb200a8f5d21cb805aaf4d80b8f37928 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -5282,16 +5282,8 @@ String FrameView::MainThreadScrollingReasonsAsText() const {
return result;
}
-void FrameView::SetViewportIntersectionFromParent(
- const IntRect& viewport_intersection) {
- if (remote_viewport_intersection_ != viewport_intersection) {
- remote_viewport_intersection_ = viewport_intersection;
- ScheduleAnimation();
- }
-}
-
IntRect FrameView::RemoteViewportIntersection() {
- IntRect intersection(remote_viewport_intersection_);
+ IntRect intersection(GetFrame().RemoteViewportIntersection());
intersection.Move(ScrollOffsetInt());
return intersection;
}
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.h ('k') | third_party/WebKit/Source/core/frame/LocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698