| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 5b7842fa68deac801679a6f650775344e28bf1fe..b6ee0b3e63581bd0e9dbe4228adead5f46ec75bd 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -3359,9 +3359,6 @@ void WebViewImpl::resetScrollAndScaleState()
|
| scrollableArea->notifyScrollPositionChanged(DoublePoint::zero());
|
| }
|
|
|
| - // 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.
|
|
|