aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mediastreamtrackaudiosourcenode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/mediastreamtrackaudiosourcenode.rs')
-rw-r--r--components/script/dom/mediastreamtrackaudiosourcenode.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/mediastreamtrackaudiosourcenode.rs b/components/script/dom/mediastreamtrackaudiosourcenode.rs
index fa8b480764d..c5d8c18cb2c 100644
--- a/components/script/dom/mediastreamtrackaudiosourcenode.rs
+++ b/components/script/dom/mediastreamtrackaudiosourcenode.rs
@@ -23,7 +23,7 @@ pub struct MediaStreamTrackAudioSourceNode {
}
impl MediaStreamTrackAudioSourceNode {
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
pub fn new_inherited(
context: &AudioContext,
track: &MediaStreamTrack,
@@ -49,7 +49,7 @@ impl MediaStreamTrackAudioSourceNode {
Self::new_with_proto(window, None, context, track)
}
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
fn new_with_proto(
window: &Window,
proto: Option<HandleObject>,