mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +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:
@@ -26,7 +26,7 @@ BigIntObject::~BigIntObject()
|
||||
|
||||
void BigIntObject::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Object::visit_edges(visitor);
|
||||
Base::visit_edges(visitor);
|
||||
visitor.visit(&m_bigint);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user