diff options
author | Linus Groh <mail@linusgroh.de> | 2022-12-14 18:37:37 +0000 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2022-12-15 06:56:37 -0500 |
commit | 2a66fc6cae8ef09e780cd795bf0b1d7f8844f4ec (patch) | |
tree | 51cf288c14d5fd321c2eaa03f21bdac2f94ea756 /Userland/Libraries/LibWeb/HTML/EventLoop | |
parent | 029db614e3c04279b9ae6c7e21e07baeccad63fd (diff) | |
download | serenity-2a66fc6cae8ef09e780cd795bf0b1d7f8844f4ec.zip |
LibJS: Add make_handle({Nonnull,}GCPtr<T>) overloads
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/EventLoop')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp b/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp index ebb01a6018..94120c1150 100644 --- a/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp +++ b/Userland/Libraries/LibWeb/HTML/EventLoop/EventLoop.cpp @@ -323,7 +323,7 @@ Vector<JS::Handle<DOM::Document>> EventLoop::documents_in_this_event_loop() cons Vector<JS::Handle<DOM::Document>> documents; for (auto& document : m_documents) { VERIFY(document); - documents.append(JS::make_handle(*document.ptr())); + documents.append(JS::make_handle(*document)); } return documents; } |