Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 1e5aa3af58a2902e3ace01f86a5140ad362ea37b..f687b005b332cf6ce95f17225d90580e46b65105 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -3015,8 +3015,8 @@ void WebViewImpl::updatePageDefinedPageScaleConstraints(const ViewportArguments& |
return; |
ViewportArguments adjustedArguments = arguments; |
- if (settingsImpl()->viewportMetaLayoutSizeQuirk() && adjustedArguments.type == ViewportArguments::ViewportMeta) |
- adjustedArguments.type = ViewportArguments::ViewportMetaLayoutSizeQuirk; |
+ if (settingsImpl()->viewportMetaLayoutSizeAndZeroValuesQuirk() && adjustedArguments.type == ViewportArguments::ViewportMeta) |
+ adjustedArguments.type = ViewportArguments::ViewportMetaLayoutSizeAndZeroValuesQuirk; |
m_pageScaleConstraintsSet.updatePageDefinedConstraints(adjustedArguments, m_size, page()->settings().layoutFallbackWidth()); |
if (settingsImpl()->supportDeprecatedTargetDensityDPI()) |