aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gainnode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/gainnode.rs')
-rw-r--r--components/script/dom/gainnode.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/gainnode.rs b/components/script/dom/gainnode.rs
index 5bcb5cdff6f..e05a5d0f24c 100644
--- a/components/script/dom/gainnode.rs
+++ b/components/script/dom/gainnode.rs
@@ -30,7 +30,7 @@ pub struct GainNode {
}
impl GainNode {
- #[allow(unrooted_must_root)]
+ #[allow(crown::unrooted_must_root)]
pub fn new_inherited(
window: &Window,
context: &BaseAudioContext,
@@ -71,7 +71,7 @@ impl GainNode {
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>,