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