mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03:00
LibWeb: Remove unused variable from compute_height method
This commit is contained in:
parent
7192cf7487
commit
97ba1ff1f7
Notes:
sideshowbarker
2024-07-17 08:37:36 +09:00
Author: https://github.com/axgallo Commit: https://github.com/SerenityOS/serenity/commit/97ba1ff1f7 Pull-request: https://github.com/SerenityOS/serenity/pull/20540 Reviewed-by: https://github.com/kalenikaliaksandr ✅
@ -442,7 +442,6 @@ CSSPixels BlockFormattingContext::compute_table_box_width_inside_table_wrapper(B
|
||||
void BlockFormattingContext::compute_height(Box const& box, AvailableSpace const& available_space)
|
||||
{
|
||||
auto const& computed_values = box.computed_values();
|
||||
auto containing_block_height = CSS::Length::make_px(available_space.height.to_px_or_zero());
|
||||
|
||||
// Then work out what the height is, based on box type and CSS properties.
|
||||
CSSPixels height = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user