LibWeb: Add missing call to Base in VideoTrack::visit_edges()

This fixes a GC crash that happened after a while on the Steam store.
This commit is contained in:
Andreas Kling 2023-05-17 20:55:04 +02:00 committed by Tim Flynn
commit f063eb3218
Notes: sideshowbarker 2024-07-16 23:52:10 +09:00

View file

@ -83,6 +83,7 @@ JS::ThrowCompletionOr<void> VideoTrack::initialize(JS::Realm& realm)
void VideoTrack::visit_edges(Cell::Visitor& visitor)
{
Base::visit_edges(visitor);
visitor.visit(m_media_element);
visitor.visit(m_video_track_list);
}