fix incorrect factor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user