mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-19 08:11:58 +00:00
LibJS+LibWeb: Use the unified Visitor for Variant-holding members
This commit is contained in:
parent
369ed74bd1
commit
de35994fc2
Notes:
github-actions[bot]
2026-05-15 06:52:30 +00:00
Author: https://github.com/Lubrsi
Commit: de35994fc2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/9303
Reviewed-by: https://github.com/gmta
19 changed files with 26 additions and 102 deletions
|
|
@ -318,9 +318,7 @@ WebIDL::Promise* ModuleScript::run(PreventErrorReporting prevent_error_reporting
|
|||
void ModuleScript::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Base::visit_edges(visitor);
|
||||
m_record.visit(
|
||||
[&](Empty) {},
|
||||
[&](auto record) { visitor.visit(record); });
|
||||
visitor.visit(m_record);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue