mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Make factory method of HTML::Window fallible
This commit is contained in:
parent
b41401bab2
commit
3e834636a6
Notes:
sideshowbarker
2024-07-17 07:09:53 +09:00
Author: https://github.com/kennethmyhra
Commit: 3e834636a6
Pull-request: https://github.com/SerenityOS/serenity/pull/17491
Reviewed-by: https://github.com/linusg ✅
4 changed files with 5 additions and 5 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue