diff options
author | Andreas Kling <kling@serenityos.org> | 2020-11-28 14:33:36 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-28 17:16:48 +0100 |
commit | 98f2da9834e80b125983fe59c804e39bc362f7ce (patch) | |
tree | 3c1698591cd9612f78a420050caad412110bf35c /Libraries/LibJS/Runtime/ProxyObject.cpp | |
parent | 97a05ac9ac56ed01720867443006db711898dbd1 (diff) | |
download | serenity-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.cpp | 4 |
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); } |