Commit e2839e19 authored by Chris Harrelson's avatar Chris Harrelson Committed by Commit Bot

Remove unnecessary call to ApplyPendingHistoryRestoreScrollOffset.

Change-Id: I8e92fc59bc59c307d39c77b53e191273d905cb12
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1978044
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#727812}
parent 15becd7e
......@@ -458,8 +458,6 @@ void LocalFrameView::FrameRectsChanged(const IntRect& old_rect) {
if (frame_->IsMainFrame())
frame_->GetPage()->GetVisualViewport().MainFrameDidChangeSize();
GetFrame().Loader().RestoreScrollPositionAndViewState();
if (GetScrollableArea())
GetScrollableArea()->ApplyPendingHistoryRestoreScrollOffset();
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment