LibWeb/CSS: Use SelectorList type instead of Vector<NNRP<Selector>>

This commit is contained in:
Sam Atkins 2024-10-17 12:01:13 +01:00 committed by Andreas Kling
commit 74c448d744
Notes: github-actions[bot] 2024-10-17 18:57:20 +00:00
5 changed files with 9 additions and 9 deletions

View file

@ -65,7 +65,7 @@ Parser::ParseErrorOr<SelectorList> Parser::parse_a_selector_list(TokenStream<T>&
{
auto comma_separated_lists = parse_a_comma_separated_list_of_component_values(tokens);
Vector<NonnullRefPtr<Selector>> selectors;
SelectorList selectors;
for (auto& selector_parts : comma_separated_lists) {
auto stream = TokenStream(selector_parts);
auto selector = parse_complex_selector(stream, mode);