mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Add missing visit of IDBRequest::m_source
Clang plugin bug: LadybirdBrowser/ladybird#5959
This commit is contained in:
parent
02f3002081
commit
5e6b8b2785
|
|
@ -9,6 +9,9 @@
|
|||
#include <LibWeb/Bindings/Intrinsics.h>
|
||||
#include <LibWeb/Crypto/Crypto.h>
|
||||
#include <LibWeb/HTML/EventNames.h>
|
||||
#include <LibWeb/IndexedDB/IDBCursor.h>
|
||||
#include <LibWeb/IndexedDB/IDBIndex.h>
|
||||
#include <LibWeb/IndexedDB/IDBObjectStore.h>
|
||||
#include <LibWeb/IndexedDB/IDBRequest.h>
|
||||
#include <LibWeb/IndexedDB/IDBTransaction.h>
|
||||
|
||||
|
|
@ -42,6 +45,10 @@ void IDBRequest::visit_edges(Visitor& visitor)
|
|||
visitor.visit(m_result);
|
||||
visitor.visit(m_transaction);
|
||||
|
||||
m_source.visit(
|
||||
[&](Empty) {},
|
||||
[&](auto const& object) { visitor.visit(object); });
|
||||
|
||||
if (m_error.has_value())
|
||||
visitor.visit(*m_error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user