| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 6eb50580c2bf29e160f74b222c7187075b105a8d..4f1c3a69b5f328f673d69836dfea83ebef985cd2 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -3938,8 +3938,10 @@ void WebViewImpl::setSelectionColors(unsigned activeBackgroundColor,
|
|
|
| void WebViewImpl::didCommitLoad(bool isNewNavigation, bool isNavigationWithinPage)
|
| {
|
| - if (isNewNavigation && !isNavigationWithinPage)
|
| + if (isNewNavigation && !isNavigationWithinPage) {
|
| pageScaleConstraintsSet().setNeedsReset(true);
|
| + pageImportanceSignals().onCommitLoad();
|
| + }
|
|
|
| // Give the visual viewport's scroll layer its initial size.
|
| page()->frameHost().visualViewport().mainFrameDidChangeSize();
|
|
|