mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:57:35 +00:00
LibWeb: Make factory method of CSS::CSSImportRule fallible
This commit is contained in:
parent
ff8495de35
commit
d53d8cacec
3 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@ class CSSImportRule final
|
|||
WEB_PLATFORM_OBJECT(CSSImportRule, CSSRule);
|
||||
|
||||
public:
|
||||
static CSSImportRule* create(AK::URL, DOM::Document&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<CSSImportRule>> create(AK::URL, DOM::Document&);
|
||||
|
||||
virtual ~CSSImportRule() = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue