1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00

LibWeb: Make factory method of CSS::CSSSupportsRule fallible

This commit is contained in:
Kenneth Myhra 2023-02-14 20:03:29 +01:00 committed by Linus Groh
parent ada0a59fc1
commit 64e4d3fd94
3 changed files with 4 additions and 4 deletions

View file

@ -3084,7 +3084,7 @@ CSSRule* Parser::convert_to_rule(NonnullRefPtr<Rule> rule)
}
auto rule_list = CSSRuleList::create(m_context.realm(), child_rules).release_value_but_fixme_should_propagate_errors();
return CSSSupportsRule::create(m_context.realm(), supports.release_nonnull(), rule_list);
return CSSSupportsRule::create(m_context.realm(), supports.release_nonnull(), rule_list).release_value_but_fixme_should_propagate_errors();
}
// FIXME: More at rules!