mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +00:00
LibWeb: Make factory methods of CSS::CSSRuleList fallible
This commit is contained in:
parent
5601f439f9
commit
48872cd190
3 changed files with 16 additions and 14 deletions
|
@ -23,8 +23,8 @@ class CSSRuleList : public Bindings::LegacyPlatformObject {
|
|||
WEB_PLATFORM_OBJECT(CSSRuleList, Bindings::LegacyPlatformObject);
|
||||
|
||||
public:
|
||||
static CSSRuleList* create(JS::Realm&, JS::MarkedVector<CSSRule*> const&);
|
||||
static CSSRuleList* create_empty(JS::Realm&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<CSSRuleList>> create(JS::Realm&, JS::MarkedVector<CSSRule*> const&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<CSSRuleList>> create_empty(JS::Realm&);
|
||||
|
||||
~CSSRuleList() = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue