mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
LibWeb: Add missing visit of IDBRequest::m_source
Clang plugin bug: LadybirdBrowser/ladybird#5959
This commit is contained in:
parent
02f3002081
commit
5e6b8b2785
Notes:
github-actions[bot]
2025-08-22 17:30:32 +00:00
Author: https://github.com/awesomekling
Commit: 5e6b8b2785
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5960
Reviewed-by: https://github.com/gmta ✅
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue