mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb/CSS: Use SelectorList type instead of Vector<NNRP<Selector>>
This commit is contained in:
parent
d935a00413
commit
74c448d744
Notes:
github-actions[bot]
2024-10-17 18:57:20 +00:00
Author: https://github.com/AtkinsSJ
Commit: 74c448d744
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1842
Reviewed-by: https://github.com/awesomekling
5 changed files with 9 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue