1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:48:11 +00:00

LibWeb: Make factory method of CSS::CSSFontFaceRule fallible

This commit is contained in:
Kenneth Myhra 2023-02-12 22:44:04 +01:00 committed by Linus Groh
parent 471ad7ba01
commit ff8495de35
3 changed files with 5 additions and 4 deletions

View file

@ -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;