mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
LibGC: Rename MarkedVector => RootVector
Let's try to make it a bit more clear that this is a Vector of GC roots.
This commit is contained in:
committed by
Andreas Kling
parent
ada36e5c0a
commit
3bfb0534be
@@ -66,7 +66,7 @@ Variant<GC::Root<WindowProxy>, GC::Root<MessagePort>, Empty> MessageEvent::sourc
|
||||
GC::Ref<JS::Object> MessageEvent::ports() const
|
||||
{
|
||||
if (!m_ports_array) {
|
||||
GC::MarkedVector<JS::Value> port_vector(heap());
|
||||
GC::RootVector<JS::Value> port_vector(heap());
|
||||
for (auto const& port : m_ports)
|
||||
port_vector.append(port);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user