mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
LibWeb: Make factory method of CSS::CSSSupportsRule fallible
This commit is contained in:
parent
ada0a59fc1
commit
64e4d3fd94
3 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@ class CSSSupportsRule final : public CSSConditionRule {
|
|||
WEB_PLATFORM_OBJECT(CSSSupportsRule, CSSConditionRule);
|
||||
|
||||
public:
|
||||
static CSSSupportsRule* create(JS::Realm&, NonnullRefPtr<Supports>&&, CSSRuleList&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<CSSSupportsRule>> create(JS::Realm&, NonnullRefPtr<Supports>&&, CSSRuleList&);
|
||||
|
||||
virtual ~CSSSupportsRule() = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue