diff options
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/AsyncFromSyncIterator.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/AsyncFromSyncIterator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/AsyncFromSyncIterator.cpp b/Userland/Libraries/LibJS/Runtime/AsyncFromSyncIterator.cpp index 9459ccc1d2..61daf95fd6 100644 --- a/Userland/Libraries/LibJS/Runtime/AsyncFromSyncIterator.cpp +++ b/Userland/Libraries/LibJS/Runtime/AsyncFromSyncIterator.cpp @@ -13,7 +13,7 @@ namespace JS { NonnullGCPtr<AsyncFromSyncIterator> AsyncFromSyncIterator::create(Realm& realm, Iterator sync_iterator_record) { - return *realm.heap().allocate<AsyncFromSyncIterator>(realm, realm, sync_iterator_record); + return realm.heap().allocate<AsyncFromSyncIterator>(realm, realm, sync_iterator_record); } AsyncFromSyncIterator::AsyncFromSyncIterator(Realm& realm, Iterator sync_iterator_record) |