| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 90a0badc34a0087d2301578f31c9e7e7c178bea0..5e14cee75228d3047a94863daffd4b1b1eb626d0 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -2764,7 +2764,7 @@ void WebViewImpl::refreshPageScaleFactorAfterLayout()
|
| updatePageDefinedViewportConstraints(mainFrameImpl()->frame()->document()->viewportDescription());
|
| m_pageScaleConstraintsSet.computeFinalConstraints();
|
|
|
| - if (settings()->viewportEnabled() && !m_fixedLayoutSizeLock) {
|
| + if (settings()->shrinksViewportContentToFit() && settings()->viewportEnabled() && !m_fixedLayoutSizeLock) {
|
| int verticalScrollbarWidth = 0;
|
| if (view->verticalScrollbar() && !view->verticalScrollbar()->isOverlayScrollbar())
|
| verticalScrollbarWidth = view->verticalScrollbar()->width();
|
|
|