From 8cf16da6c25364a869a96d2a85de36294dff8fd9 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 5 Feb 2025 19:48:56 +0100 Subject: [PATCH] Fix build breakage caused by badly sequenced PR merges --- Libraries/LibWeb/CSS/StyleComputer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/LibWeb/CSS/StyleComputer.cpp b/Libraries/LibWeb/CSS/StyleComputer.cpp index 2d5f4648141..d8d7179c9b4 100644 --- a/Libraries/LibWeb/CSS/StyleComputer.cpp +++ b/Libraries/LibWeb/CSS/StyleComputer.cpp @@ -2230,7 +2230,7 @@ static void compute_text_align(ComputedProperties& style, DOM::Element const& el if (parent) { auto const& parent_text_align = parent->computed_properties()->property(PropertyID::TextAlign); - auto const& parent_direction = parent->computed_properties()->direction().value_or(Direction::Ltr); + auto const& parent_direction = parent->computed_properties()->direction(); switch (parent_text_align.to_keyword()) { case Keyword::Start: if (parent_direction == Direction::Ltr) {