| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 9f36a8070a6b2992fc961c234a97530078f747b2..8146011ff2dbd0a6ecf168c873da6eca94305670 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -3408,10 +3408,6 @@ void WebViewImpl::resetScrollAndScaleState()
|
|
|
| if (!page()->mainFrame()->isLocalFrame())
|
| return;
|
| -
|
| - // Clear out the values for the current history item. This will prevent the history item from clobbering the
|
| - // value determined during page scale initialization, which may be less than 1.
|
| - page()->deprecatedLocalMainFrame()->loader().clearScrollPositionAndViewState();
|
| pageScaleConstraintsSet().setNeedsReset(true);
|
|
|
| // Clobber saved scales and scroll offsets.
|
|
|