diff options
Diffstat (limited to 'components/util/opts.rs')
-rw-r--r-- | components/util/opts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/opts.rs b/components/util/opts.rs index e6b593593ab..19198cc84da 100644 --- a/components/util/opts.rs +++ b/components/util/opts.rs @@ -271,7 +271,7 @@ pub fn from_cmdline_args(args: &[String]) -> bool { }; let device_pixels_per_px = opt_match.opt_str("device-pixel-ratio").map(|dppx_str| - ScaleFactor(dppx_str.parse().unwrap()) + ScaleFactor::new(dppx_str.parse().unwrap()) ); let mut paint_threads: usize = match opt_match.opt_str("t") { |