mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 03:09:08 +00:00
LibJS: Rename Cell::visit_children() => Cell::visit_edges()
The GC heap is really a graph of cells, so "children" didn't quite feel appropriate here.
This commit is contained in:
@@ -48,9 +48,9 @@ StringObject::~StringObject()
|
||||
{
|
||||
}
|
||||
|
||||
void StringObject::visit_children(Cell::Visitor& visitor)
|
||||
void StringObject::visit_edges(Cell::Visitor& visitor)
|
||||
{
|
||||
Object::visit_children(visitor);
|
||||
Object::visit_edges(visitor);
|
||||
visitor.visit(&m_string);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user