Bläddra i källkod

LibWeb: Remove unused variable in FormattingContext

Andreas Kling 2 år sedan
förälder
incheckning
7eb9e730e0
1 ändrade filer med 0 tillägg och 2 borttagningar
  1. 0 2
      Userland/Libraries/LibWeb/Layout/FormattingContext.cpp

+ 0 - 2
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.