mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:07:34 +00:00
LibWeb: Make factory method of CSS::StyleSheetList fallible
This commit is contained in:
parent
57c34e6325
commit
719839b882
3 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ class StyleSheetList : public Bindings::LegacyPlatformObject {
|
|||
WEB_PLATFORM_OBJECT(StyleSheetList, Bindings::LegacyPlatformObject);
|
||||
|
||||
public:
|
||||
static StyleSheetList* create(DOM::Document& document);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<StyleSheetList>> create(DOM::Document& document);
|
||||
|
||||
void add_sheet(CSSStyleSheet&);
|
||||
void remove_sheet(CSSStyleSheet&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue