fix incorrect factor

This commit is contained in:
uazo
2022-08-26 16:23:54 +02:00
committed by Carmelo Messina
parent 04004176d5
commit df6fe8e904
+1 -1
View File
@@ -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);