1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:27:43 +00:00

LibWeb: Port CSS::Supports to new Strings

This commit is contained in:
Sam Atkins 2023-02-14 20:03:49 +00:00 committed by Tim Flynn
parent fc3540c4b1
commit a381ce9519
4 changed files with 32 additions and 32 deletions

View file

@ -1395,7 +1395,7 @@ Optional<Supports::Feature> Parser::parse_supports_feature(TokenStream<Component
if (auto declaration = consume_a_declaration(block_tokens); declaration.has_value()) {
transaction.commit();
return Supports::Feature {
Supports::Declaration { declaration->to_string().release_value_but_fixme_should_propagate_errors().to_deprecated_string() }
Supports::Declaration { declaration->to_string().release_value_but_fixme_should_propagate_errors() }
};
}
}
@ -1408,7 +1408,7 @@ Optional<Supports::Feature> Parser::parse_supports_feature(TokenStream<Component
builder.append(item.to_string().release_value_but_fixme_should_propagate_errors());
transaction.commit();
return Supports::Feature {
Supports::Selector { builder.to_deprecated_string() }
Supports::Selector { builder.to_string().release_value_but_fixme_should_propagate_errors() }
};
}