mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49:11 +00:00
LibGC: Rename remaining occurrence of marked vector
In 3bfb0534be
`MarkedVector` was renamed to `RootVector`, but some
related symbols were missed. This commit corrects this.
This commit is contained in:
parent
49bdda1475
commit
01f8ab35f1
Notes:
github-actions[bot]
2025-01-02 23:23:26 +00:00
Author: https://github.com/InvalidUsernameException
Commit: 01f8ab35f1
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3107
Reviewed-by: https://github.com/ADKaster ✅
3 changed files with 13 additions and 13 deletions
|
@ -13,12 +13,12 @@ namespace GC {
|
|||
RootVectorBase::RootVectorBase(Heap& heap)
|
||||
: m_heap(&heap)
|
||||
{
|
||||
m_heap->did_create_marked_vector({}, *this);
|
||||
m_heap->did_create_root_vector({}, *this);
|
||||
}
|
||||
|
||||
RootVectorBase::~RootVectorBase()
|
||||
{
|
||||
m_heap->did_destroy_marked_vector({}, *this);
|
||||
m_heap->did_destroy_root_vector({}, *this);
|
||||
}
|
||||
|
||||
RootVectorBase& RootVectorBase::operator=(RootVectorBase const& other)
|
||||
|
@ -27,7 +27,7 @@ RootVectorBase& RootVectorBase::operator=(RootVectorBase const& other)
|
|||
m_heap = other.m_heap;
|
||||
|
||||
// NOTE: IntrusiveList will remove this RootVectorBase from the old heap it was part of.
|
||||
m_heap->did_create_marked_vector({}, *this);
|
||||
m_heap->did_create_root_vector({}, *this);
|
||||
}
|
||||
|
||||
return *this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue