mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02: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
Notes:
github-actions[bot]
2024-12-26 18:11:36 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/3bfb0534be7 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3048
@@ -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