mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +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:
parent
97a05ac9ac
commit
98f2da9834
32 changed files with 48 additions and 48 deletions
|
@ -94,9 +94,9 @@ WindowObject::~WindowObject()
|
|||
{
|
||||
}
|
||||
|
||||
void WindowObject::visit_children(Visitor& visitor)
|
||||
void WindowObject::visit_edges(Visitor& visitor)
|
||||
{
|
||||
GlobalObject::visit_children(visitor);
|
||||
GlobalObject::visit_edges(visitor);
|
||||
visitor.visit(m_xhr_constructor);
|
||||
visitor.visit(m_xhr_prototype);
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ public:
|
|||
|
||||
private:
|
||||
virtual const char* class_name() const override { return "WindowObject"; }
|
||||
virtual void visit_children(Visitor&) override;
|
||||
virtual void visit_edges(Visitor&) override;
|
||||
|
||||
JS_DECLARE_NATIVE_GETTER(document_getter);
|
||||
JS_DECLARE_NATIVE_SETTER(document_setter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue