mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:48:14 +00: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
16 changed files with 16 additions and 16 deletions
|
@ -85,7 +85,7 @@ void FunctionObject::InstanceField::define_field(VM& vm, Object& receiver) const
|
|||
|
||||
void FunctionObject::visit_edges(Visitor& visitor)
|
||||
{
|
||||
Object::visit_edges(visitor);
|
||||
Base::visit_edges(visitor);
|
||||
|
||||
visitor.visit(m_home_object);
|
||||
visitor.visit(m_bound_this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue