1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:58:12 +00:00

LibWeb: Use new GeneralEnclosed class in Supports

This commit is contained in:
Sam Atkins 2021-11-24 14:20:59 +00:00 committed by Andreas Kling
parent e760263728
commit 99e18f40fb
3 changed files with 11 additions and 55 deletions

View file

@ -1083,7 +1083,7 @@ Optional<Supports::InParens> Parser::parse_supports_in_parens(TokenStream<StyleC
// `<general-enclosed>`
if (auto general_enclosed = parse_general_enclosed(tokens); general_enclosed.has_value()) {
return Supports::InParens {
.value = Supports::GeneralEnclosed {}
.value = general_enclosed.release_value()
};
}