mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
LibWeb: Make factory method of CSS::CSSFontFaceRule fallible
This commit is contained in:
committed by
Linus Groh
parent
471ad7ba01
commit
ff8495de35
@@ -16,7 +16,7 @@ class CSSFontFaceRule final : public CSSRule {
|
||||
WEB_PLATFORM_OBJECT(CSSFontFaceRule, CSSRule);
|
||||
|
||||
public:
|
||||
static CSSFontFaceRule* create(JS::Realm&, FontFace&&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<CSSFontFaceRule>> create(JS::Realm&, FontFace&&);
|
||||
|
||||
virtual ~CSSFontFaceRule() override = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user