1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00

LibWeb: Make factory method of HTML::Window fallible

This commit is contained in:
Kenneth Myhra 2023-02-15 20:04:35 +01:00 committed by Linus Groh
parent b41401bab2
commit 3e834636a6
4 changed files with 5 additions and 5 deletions

View file

@ -37,7 +37,7 @@ class Window final
WEB_PLATFORM_OBJECT(Window, DOM::EventTarget);
public:
static JS::NonnullGCPtr<Window> create(JS::Realm&);
static WebIDL::ExceptionOr<JS::NonnullGCPtr<Window>> create(JS::Realm&);
~Window();