mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibJS+LibWeb: Normalize calls to Base::visit_edges in GC objects
This commit is contained in:
committed by
Andreas Kling
parent
98ed74087f
commit
82eeee2008
Notes:
sideshowbarker
2024-07-17 01:10:58 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/82eeee2008 Pull-request: https://github.com/SerenityOS/serenity/pull/17979 Reviewed-by: https://github.com/awesomekling
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user