diff options
Diffstat (limited to 'components/script/dom/audiobuffer.rs')
-rw-r--r-- | components/script/dom/audiobuffer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/audiobuffer.rs b/components/script/dom/audiobuffer.rs index 81943ca25f5..5645d418ee5 100644 --- a/components/script/dom/audiobuffer.rs +++ b/components/script/dom/audiobuffer.rs @@ -63,7 +63,7 @@ pub struct AudioBuffer { } impl AudioBuffer { - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] #[allow(unsafe_code)] pub fn new_inherited(number_of_channels: u32, length: u32, sample_rate: f32) -> AudioBuffer { let vec = (0..number_of_channels).map(|_| Heap::default()).collect(); @@ -95,7 +95,7 @@ impl AudioBuffer { ) } - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] fn new_with_proto( global: &Window, proto: Option<HandleObject>, |