From 7eb9e730e05e98257a301509d38dc1b2d89e2260 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 6 May 2023 18:32:59 +0200 Subject: [PATCH] LibWeb: Remove unused variable in FormattingContext --- Userland/Libraries/LibWeb/Layout/FormattingContext.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp index 812a59d7e4..6261a55bf7 100644 --- a/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp +++ b/Userland/Libraries/LibWeb/Layout/FormattingContext.cpp @@ -938,8 +938,6 @@ void FormattingContext::layout_absolutely_positioned_element(Box const& box, Ava auto width_of_containing_block_as_length = CSS::Length::make_px(width_of_containing_block); auto height_of_containing_block_as_length = CSS::Length::make_px(height_of_containing_block); - auto specified_width = box.computed_values().width().resolved(box, width_of_containing_block_as_length).resolved(box); - compute_width_for_absolutely_positioned_element(box, available_space); // NOTE: We compute height before *and* after doing inside layout.