From 6291821489d7ae0e861d729a73c2ae5e40b77eee Mon Sep 17 00:00:00 2001 From: Karol Kosek Date: Fri, 10 Jun 2022 20:39:45 +0200 Subject: [PATCH] LibWeb: Print correct value types in ComponentValue debug string Block and Function names were swapped. --- Userland/Libraries/LibWeb/CSS/Parser/ComponentValue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/CSS/Parser/ComponentValue.cpp b/Userland/Libraries/LibWeb/CSS/Parser/ComponentValue.cpp index 0fd67c9131..2111ee9978 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/ComponentValue.cpp +++ b/Userland/Libraries/LibWeb/CSS/Parser/ComponentValue.cpp @@ -41,10 +41,10 @@ String ComponentValue::to_debug_string() const return String::formatted("Token: {}", token.to_debug_string()); }, [](NonnullRefPtr const& block) { - return String::formatted("Function: {}", block->to_string()); + return String::formatted("Block: {}", block->to_string()); }, [](NonnullRefPtr const& function) { - return String::formatted("Block: {}", function->to_string()); + return String::formatted("Function: {}", function->to_string()); }); }