Skip to content

Commit fe37b89

Browse files
committed
Remove unused variable
Just a remnant from servo#29850, it was causing a build warning.
1 parent fe5b494 commit fe37b89

File tree

1 file changed

+0
-1
lines changed
  • components/layout_thread_2020

1 file changed

+0
-1
lines changed

components/layout_thread_2020/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,6 @@ impl LayoutThread {
866866

867867
let initial_viewport = data.window_size.initial_viewport;
868868
let device_pixel_ratio = data.window_size.device_pixel_ratio;
869-
let old_viewport_size = self.viewport_size;
870869
let current_screen_size = Size2D::new(
871870
Au::from_f32_px(initial_viewport.width),
872871
Au::from_f32_px(initial_viewport.height),

0 commit comments

Comments
 (0)