mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
CanGc fixes in several files (#33958)
* few cangc fixes Signed-off-by: L Ashwin B <lashwinib@gmail.com> * few cangc fixes Signed-off-by: L Ashwin B <lashwinib@gmail.com> --------- Signed-off-by: L Ashwin B <lashwinib@gmail.com>
This commit is contained in:
parent
1bf68567b8
commit
ebfea9b352
22 changed files with 170 additions and 129 deletions
|
@ -17,6 +17,7 @@ use crate::dom::eventtarget::EventTarget;
|
|||
use crate::dom::texttrack::TextTrack;
|
||||
use crate::dom::trackevent::TrackEvent;
|
||||
use crate::dom::window::Window;
|
||||
use crate::script_runtime::CanGc;
|
||||
use crate::task_source::TaskSource;
|
||||
|
||||
#[dom_struct]
|
||||
|
@ -83,6 +84,7 @@ impl TextTrackList {
|
|||
&Some(VideoTrackOrAudioTrackOrTextTrack::TextTrack(
|
||||
DomRoot::from_ref(&track)
|
||||
)),
|
||||
CanGc::note()
|
||||
);
|
||||
|
||||
event.upcast::<Event>().fire(this.upcast::<EventTarget>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue