summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/ProxyObject.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-11-28 14:33:36 +0100
committerAndreas Kling <kling@serenityos.org>2020-11-28 17:16:48 +0100
commit98f2da9834e80b125983fe59c804e39bc362f7ce (patch)
tree3c1698591cd9612f78a420050caad412110bf35c /Libraries/LibJS/Runtime/ProxyObject.cpp
parent97a05ac9ac56ed01720867443006db711898dbd1 (diff)
downloadserenity-98f2da9834e80b125983fe59c804e39bc362f7ce.zip
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.
Diffstat (limited to 'Libraries/LibJS/Runtime/ProxyObject.cpp')
-rw-r--r--Libraries/LibJS/Runtime/ProxyObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/ProxyObject.cpp b/Libraries/LibJS/Runtime/ProxyObject.cpp
index 4096558bdc..12f9a99202 100644
--- a/Libraries/LibJS/Runtime/ProxyObject.cpp
+++ b/Libraries/LibJS/Runtime/ProxyObject.cpp
@@ -467,9 +467,9 @@ Value ProxyObject::delete_property(const PropertyName& name)
return Value(true);
}
-void ProxyObject::visit_children(Cell::Visitor& visitor)
+void ProxyObject::visit_edges(Cell::Visitor& visitor)
{
- Function::visit_children(visitor);
+ Function::visit_edges(visitor);
visitor.visit(&m_target);
visitor.visit(&m_handler);
}