summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-04-27 11:35:25 +0100
committerAndreas Kling <kling@serenityos.org>2022-04-29 00:07:31 +0200
commitd6ae08d0234cbd284da36cba7c0239af6f4c88c9 (patch)
treebf2d5aea59d52e17522ba913c0f2e7bbdf799fd5 /Userland/Libraries/LibWeb/CSS
parentd784a8aaf0b50ba6443231dc33ef4f3a76369b6c (diff)
downloadserenity-d6ae08d0234cbd284da36cba7c0239af6f4c88c9.zip
LibWeb: Rename a local variable to not collide with a parameter
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp6
1 files changed, 3 insertions, 3 deletions
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<NonnullRefPtr<StyleValue>> 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;
}