Index: Source/core/page/PageScaleConstraintsSet.cpp |
diff --git a/Source/core/page/PageScaleConstraintsSet.cpp b/Source/core/page/PageScaleConstraintsSet.cpp |
index a5df3e1550f4d867b59bc540180127f51e668d75..294a9beb3f2bdbe3183fb23a9b38191846fb9e66 100644 |
--- a/Source/core/page/PageScaleConstraintsSet.cpp |
+++ b/Source/core/page/PageScaleConstraintsSet.cpp |
@@ -111,7 +111,7 @@ static float computeDeprecatedTargetDensityDPIFactor(const ViewportArguments& ar |
targetDPI = 240.0f; |
else if (arguments.deprecatedTargetDensityDPI != ViewportArguments::ValueAuto) |
targetDPI = arguments.deprecatedTargetDensityDPI; |
- return targetDPI > 0 ? (deviceScaleFactor * 120.0f) / targetDPI : 1.0f; |
+ return targetDPI > 0 ? 160.0f / targetDPI : 1.0f; |
} |
static float getLayoutWidthForNonWideViewport(const FloatSize& deviceSize, float initialScale) |