aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <infra@servo.org>2023-07-01 04:43:34 +0200
committerGitHub <noreply@github.com>2023-07-01 04:43:34 +0200
commitf034eb60323c1501ba00e86cb7c2de243f41b56c (patch)
tree48e69dc89556ed03fd7c1a409434ea5967299233
parentfe5b494e3f7a977c34ad2ad8758d94c8be41bee1 (diff)
parentfe37b89b958df8610814f8bd055298f430eabcbf (diff)
downloadservo-f034eb60323c1501ba00e86cb7c2de243f41b56c.tar.gz
servo-f034eb60323c1501ba00e86cb7c2de243f41b56c.zip
Auto merge of #29953 - Loirooriol:remove-unused-variable, r=jdm
Remove unused variable Just a remnant from #29850, it was causing a build warning. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
-rw-r--r--components/layout_thread_2020/lib.rs1
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),