mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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
@@ -526,7 +526,7 @@ void Window::consume_history_action_user_activation()
|
||||
auto navigables = top->active_document()->inclusive_descendant_navigables();
|
||||
|
||||
// 4. Let windows be the list of Window objects constructed by taking the active window of each item in navigables.
|
||||
GC::MarkedVector<GC::Ptr<Window>> windows(heap());
|
||||
GC::RootVector<GC::Ptr<Window>> windows(heap());
|
||||
for (auto& n : navigables)
|
||||
windows.append(n->active_window());
|
||||
|
||||
@@ -551,7 +551,7 @@ void Window::consume_user_activation()
|
||||
auto navigables = top->active_document()->inclusive_descendant_navigables();
|
||||
|
||||
// 4. Let windows be the list of Window objects constructed by taking the active window of each item in navigables.
|
||||
GC::MarkedVector<GC::Ptr<Window>> windows(heap());
|
||||
GC::RootVector<GC::Ptr<Window>> windows(heap());
|
||||
for (auto& n : navigables)
|
||||
windows.append(n->active_window());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user