mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 04:41:56 +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:
parent
ada36e5c0a
commit
3bfb0534be
Notes:
github-actions[bot]
2024-12-26 18:11:36 +00:00
Author: https://github.com/awesomekling
Commit: 3bfb0534be
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3048
117 changed files with 281 additions and 281 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue