mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 00:35:08 +00:00
LibJS: Add make_handle({Nonnull,}GCPtr<T>) overloads
This commit is contained in:
parent
029db614e3
commit
2a66fc6cae
5 changed files with 18 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue