diff options
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r-- | components/layout_thread/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index 705e8f5ee50..85e665b28b0 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -1397,7 +1397,7 @@ impl LayoutThread { ); // Preserve any previously computed root font size. - device.set_root_font_size(self.stylist.device().root_font_size()); + device.set_root_font_size(self.stylist.device().root_font_size().px()); let sheet_origins_affected_by_device_change = self.stylist.set_device(device, guards); self.stylist |