Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index d545e9f50f213cd7e0a3be3d5786e3d189963ab1..2e367f903a6205f59aad9c7eb6e9475a86587aa7 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -3252,8 +3252,8 @@ void WebViewImpl::updatePageDefinedViewportConstraints(const ViewportDescription |
Document* document = page()->deprecatedLocalMainFrame()->document(); |
m_matchesHeuristicsForGpuRasterization = description.maxWidth == Length(DeviceWidth) |
- && description.minZoom == 1.0 |
- && description.minZoomIsExplicit; |
+ && ((description.minZoom >= 1.0 && description.minZoomIsExplicit) |
+ || !description.userZoom); |
if (m_layerTreeView) |
m_layerTreeView->heuristicsForGpuRasterizationUpdated(m_matchesHeuristicsForGpuRasterization); |