LibWeb: Port CSS::Parser::Function to new Strings

This commit is contained in:
Sam Atkins 2023-02-14 18:55:59 +00:00 committed by Tim Flynn
commit 05c1b09621
Notes: sideshowbarker 2024-07-18 05:37:06 +09:00
5 changed files with 20 additions and 19 deletions

View file

@ -1801,7 +1801,7 @@ NonnullRefPtr<Function> Parser::consume_a_function(TokenStream<T>& tokens)
// Create a function with its name equal to the value of the current input token
// and with its value initially set to an empty list.
// NOTE: We create the Function fully initialized when we return it instead.
DeprecatedFlyString function_name = ((Token)name_ident).function();
auto function_name = FlyString::from_utf8(((Token)name_ident).function()).release_value_but_fixme_should_propagate_errors();
Vector<ComponentValue> function_values;
// Repeatedly consume the next input token and process it as follows: