diff options
author | Oriol Brufau <obrufau@igalia.com> | 2023-07-01 03:24:09 +0200 |
---|---|---|
committer | Oriol Brufau <obrufau@igalia.com> | 2023-07-01 03:24:09 +0200 |
commit | fe37b89b958df8610814f8bd055298f430eabcbf (patch) | |
tree | 48e69dc89556ed03fd7c1a409434ea5967299233 | |
parent | fe5b494e3f7a977c34ad2ad8758d94c8be41bee1 (diff) | |
download | servo-fe37b89b958df8610814f8bd055298f430eabcbf.tar.gz servo-fe37b89b958df8610814f8bd055298f430eabcbf.zip |
Remove unused variable
Just a remnant from #29850, it was causing a build warning.
-rw-r--r-- | components/layout_thread_2020/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/components/layout_thread_2020/lib.rs b/components/layout_thread_2020/lib.rs index e49faeff735..b0b09a7cefb 100644 --- a/components/layout_thread_2020/lib.rs +++ b/components/layout_thread_2020/lib.rs @@ -866,7 +866,6 @@ impl LayoutThread { let initial_viewport = data.window_size.initial_viewport; let device_pixel_ratio = data.window_size.device_pixel_ratio; - let old_viewport_size = self.viewport_size; let current_screen_size = Size2D::new( Au::from_f32_px(initial_viewport.width), Au::from_f32_px(initial_viewport.height), |