1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

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
parent 5bb6e2c80c
commit f063eb3218

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);
}