LibWeb: Remove Length::Type::Undefined! :^)

This commit is contained in:
Sam Atkins 2022-02-18 16:50:17 +00:00 committed by Andreas Kling
commit 356d8bcfe8
Notes: sideshowbarker 2024-07-17 18:34:21 +09:00
8 changed files with 13 additions and 20 deletions

View file

@ -500,7 +500,6 @@ Optional<Length> CalculatedStyleValue::resolve_length(Layout::Node const& layout
Optional<LengthPercentage> CalculatedStyleValue::resolve_length_percentage(Layout::Node const& layout_node, Length const& percentage_basis) const
{
VERIFY(!percentage_basis.is_undefined());
auto result = m_expression->resolve(&layout_node, percentage_basis);
return result.value().visit(