| 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;
|
| }
|
|
|