Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit df6fe8e9 authored by uazo's avatar uazo Committed by Carmelo Messina
Browse files

fix incorrect factor

parent 04004176
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);