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:
parent
471ad7ba01
commit
ff8495de35
3 changed files with 5 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue