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:
Andreas Kling 2024-12-26 14:32:52 +01:00 committed by Andreas Kling
parent ada36e5c0a
commit 3bfb0534be
Notes: github-actions[bot] 2024-12-26 18:11:36 +00:00
117 changed files with 281 additions and 281 deletions

View file

@ -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());