mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
LibJS+LibWeb+Spreadsheet: Upcall visit_edges() via Base typedef
Let's use Base::visit_edges() when calling the base class, to prevent accidentally skipping over anyone in the inheritance chain.
This commit is contained in:
parent
19ee5e01ad
commit
d42d655853
Notes:
sideshowbarker
2024-07-18 04:16:59 +09:00
Author: https://github.com/awesomekling
Commit: d42d655853
16 changed files with 16 additions and 16 deletions
|
@ -1023,7 +1023,7 @@ Value ProxyObject::construct(FunctionObject& new_target)
|
|||
|
||||
void ProxyObject::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
FunctionObject::visit_edges(visitor);
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(&m_target);
|
||||
visitor.visit(&m_handler);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue