1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

LibJS+LibWeb: Normalize calls to Base::visit_edges in GC objects

This commit is contained in:
Matthew Olsson 2023-03-20 13:37:11 -07:00 committed by Andreas Kling
parent 98ed74087f
commit 82eeee2008
17 changed files with 20 additions and 15 deletions

View file

@ -51,7 +51,7 @@ PrimitiveString::~PrimitiveString()
void PrimitiveString::visit_edges(Cell::Visitor& visitor)
{
Cell::visit_edges(visitor);
Base::visit_edges(visitor);
if (m_is_rope) {
visitor.visit(m_lhs);
visitor.visit(m_rhs);