mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Replace MarkedVector with Vector in VideoTrackList
There's no need to make the m_video_tracks entries heap roots, we can visit them instead.
This commit is contained in:
parent
f921952cc3
commit
270e0d4b58
Notes:
sideshowbarker
2024-07-17 04:01:41 +09:00
Author: https://github.com/IdanHo
Commit: 270e0d4b58
Pull-request: https://github.com/SerenityOS/serenity/pull/23854
Issue: https://github.com/SerenityOS/serenity/issues/23848
Reviewed-by: https://github.com/mattco98 ✅
Reviewed-by: https://github.com/trflynn89
4 changed files with 10 additions and 2 deletions
|
@ -17,7 +17,6 @@ JS_DEFINE_ALLOCATOR(AudioTrackList);
|
|||
|
||||
AudioTrackList::AudioTrackList(JS::Realm& realm)
|
||||
: DOM::EventTarget(realm, MayInterfereWithIndexedPropertyAccess::Yes)
|
||||
, m_audio_tracks(realm.heap())
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue