diff --git a/Libraries/LibWeb/IndexedDB/Internal/RequestList.cpp b/Libraries/LibWeb/IndexedDB/Internal/RequestList.cpp index 85567c100fa..3aa99ecc2f0 100644 --- a/Libraries/LibWeb/IndexedDB/Internal/RequestList.cpp +++ b/Libraries/LibWeb/IndexedDB/Internal/RequestList.cpp @@ -64,11 +64,11 @@ void RequestList::all_previous_requests_processed(GC::Heap& heap, GC::Reffunction()(); }); m_pending_request_queue.append(*pending_request_process); } else { - queue_a_database_task(on_complete); + on_complete->function()(); } } @@ -94,7 +94,7 @@ void RequestList::PendingRequestProcess::add_request_to_observe(GC::Reffunction()(); } }));