diff options
Diffstat (limited to 'components/script/dom/constantsourcenode.rs')
-rw-r--r-- | components/script/dom/constantsourcenode.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/constantsourcenode.rs b/components/script/dom/constantsourcenode.rs index 4b9b8668706..88a4d5eaabc 100644 --- a/components/script/dom/constantsourcenode.rs +++ b/components/script/dom/constantsourcenode.rs @@ -29,7 +29,7 @@ pub struct ConstantSourceNode { } impl ConstantSourceNode { - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] fn new_inherited( window: &Window, context: &BaseAudioContext, @@ -69,7 +69,7 @@ impl ConstantSourceNode { 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>, |