From d6ae08d0234cbd284da36cba7c0239af6f4c88c9 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Wed, 27 Apr 2022 11:35:25 +0100 Subject: LibWeb: Rename a local variable to not collide with a parameter --- Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Userland/Libraries/LibWeb/CSS') diff --git a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp index ce6d3001fc..cea062aeef 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp +++ b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp @@ -5108,9 +5108,9 @@ Parser::ParseErrorOr> Parser::parse_css_value(Property return parsed_value.release_nonnull(); return ParseError::SyntaxError; case PropertyID::TextDecorationLine: { - TokenStream tokens { component_values }; - auto parsed_value = parse_text_decoration_line_value(tokens); - if (parsed_value && !tokens.has_next_token()) + TokenStream value_tokens { component_values }; + auto parsed_value = parse_text_decoration_line_value(value_tokens); + if (parsed_value && !value_tokens.has_next_token()) return parsed_value.release_nonnull(); return ParseError::SyntaxError; } -- cgit v1.2.3