From df6fe8e9041bc7b60d63344cdfbe3d0b70e1b8f4 Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Wed, 20 Jul 2022 18:38:54 +0200 Subject: [PATCH] fix incorrect factor --- build/patches/Add-Viewport-Protection.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/patches/Add-Viewport-Protection.patch b/build/patches/Add-Viewport-Protection.patch index 6f6de254..5c86a3df 100644 --- a/build/patches/Add-Viewport-Protection.patch +++ b/build/patches/Add-Viewport-Protection.patch @@ -618,7 +618,7 @@ diff --git a/third_party/blink/renderer/core/html/html_meta_element.cc b/third_p + + if (settings->AllowViewportChange(false)) { + if (page->PageWidthOverride() == 0) { -+ page->SetPageWidthOverride(base::RandInt(-30, 150) / 100.0); ++ page->SetPageWidthOverride(base::RandInt(-30, 150) / 10.0); + } + + float device_width = 1.0 + (page->PageWidthOverride() / 100.0);