aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mediastreamaudiosourcenode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/mediastreamaudiosourcenode.rs')
-rw-r--r--components/script/dom/mediastreamaudiosourcenode.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/mediastreamaudiosourcenode.rs b/components/script/dom/mediastreamaudiosourcenode.rs
index c56851912db..4f273f960b2 100644
--- a/components/script/dom/mediastreamaudiosourcenode.rs
+++ b/components/script/dom/mediastreamaudiosourcenode.rs
@@ -26,7 +26,7 @@ pub struct MediaStreamAudioSourceNode {
}
impl MediaStreamAudioSourceNode {
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
pub fn new_inherited(
context: &AudioContext,
stream: &MediaStream,
@@ -58,7 +58,7 @@ impl MediaStreamAudioSourceNode {
Self::new_with_proto(window, None, context, stream)
}
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
fn new_with_proto(
window: &Window,
proto: Option<HandleObject>,