diff options
Diffstat (limited to 'components/script/dom/trackevent.rs')
-rw-r--r-- | components/script/dom/trackevent.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/trackevent.rs b/components/script/dom/trackevent.rs index 35cf787fcba..ee1f72c67e5 100644 --- a/components/script/dom/trackevent.rs +++ b/components/script/dom/trackevent.rs @@ -22,7 +22,7 @@ use crate::dom::texttrack::TextTrack; use crate::dom::videotrack::VideoTrack; use crate::dom::window::Window; -#[unrooted_must_root_lint::must_root] +#[crown::unrooted_must_root_lint::must_root] #[derive(JSTraceable, MallocSizeOf)] enum MediaTrack { Video(Dom<VideoTrack>), @@ -38,7 +38,7 @@ pub struct TrackEvent { #[allow(non_snake_case)] impl TrackEvent { - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] fn new_inherited(track: &Option<VideoTrackOrAudioTrackOrTextTrack>) -> TrackEvent { let media_track = match track { Some(VideoTrackOrAudioTrackOrTextTrack::VideoTrack(VideoTrack)) => { |