aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mediastreamaudiodestinationnode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/mediastreamaudiodestinationnode.rs')
-rw-r--r--components/script/dom/mediastreamaudiodestinationnode.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/mediastreamaudiodestinationnode.rs b/components/script/dom/mediastreamaudiodestinationnode.rs
index 7409cfa98e2..1950ce34a26 100644
--- a/components/script/dom/mediastreamaudiodestinationnode.rs
+++ b/components/script/dom/mediastreamaudiodestinationnode.rs
@@ -28,7 +28,7 @@ pub struct MediaStreamAudioDestinationNode {
}
impl MediaStreamAudioDestinationNode {
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
pub fn new_inherited(
context: &AudioContext,
options: &AudioNodeOptions,
@@ -62,7 +62,7 @@ impl MediaStreamAudioDestinationNode {
Self::new_with_proto(window, None, context, options)
}
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
fn new_with_proto(
window: &Window,
proto: Option<HandleObject>,