| Index: third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrameView.cpp b/third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| index eb769944bd98255ff66d56033fe655caa5df2d80..b47d195420478685d8d524d77728869f075e9cad 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrameView.cpp
|
| @@ -5319,16 +5319,8 @@ String LocalFrameView::MainThreadScrollingReasonsAsText() const {
|
| return result;
|
| }
|
|
|
| -void LocalFrameView::SetViewportIntersectionFromParent(
|
| - const IntRect& viewport_intersection) {
|
| - if (remote_viewport_intersection_ != viewport_intersection) {
|
| - remote_viewport_intersection_ = viewport_intersection;
|
| - ScheduleAnimation();
|
| - }
|
| -}
|
| -
|
| IntRect LocalFrameView::RemoteViewportIntersection() {
|
| - IntRect intersection(remote_viewport_intersection_);
|
| + IntRect intersection(GetFrame().RemoteViewportIntersection());
|
| intersection.Move(ScrollOffsetInt());
|
| return intersection;
|
| }
|
|
|