mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
LibWeb: Make factory method of CSS::MediaQueryList fallible
This commit is contained in:
parent
5d9bc378c3
commit
bc02686ae9
3 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ class MediaQueryList final : public DOM::EventTarget {
|
|||
WEB_PLATFORM_OBJECT(MediaQueryList, DOM::EventTarget);
|
||||
|
||||
public:
|
||||
static JS::NonnullGCPtr<MediaQueryList> create(DOM::Document&, NonnullRefPtrVector<MediaQuery>&&);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<MediaQueryList>> create(DOM::Document&, NonnullRefPtrVector<MediaQuery>&&);
|
||||
|
||||
virtual ~MediaQueryList() override = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue