diff options
Diffstat (limited to 'components/script/dom/baseaudiocontext.rs')
-rw-r--r-- | components/script/dom/baseaudiocontext.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/baseaudiocontext.rs b/components/script/dom/baseaudiocontext.rs index 9e0581c48e3..9673e964352 100644 --- a/components/script/dom/baseaudiocontext.rs +++ b/components/script/dom/baseaudiocontext.rs @@ -109,7 +109,7 @@ pub struct BaseAudioContext { } impl BaseAudioContext { - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] pub fn new_inherited( options: BaseAudioContextOptions, pipeline_id: PipelineId, @@ -193,9 +193,9 @@ impl BaseAudioContext { /// does not take a list of promises to fulfill. Callers cannot just pop /// the front list off of `in_flight_resume_promises_queue` and later fulfill /// the promises because that would mean putting - /// `#[allow(unrooted_must_root)]` on even more functions, potentially + /// `#[allow(crown::unrooted_must_root)]` on even more functions, potentially /// hiding actual safety bugs. - #[allow(unrooted_must_root)] + #[allow(crown::unrooted_must_root)] fn fulfill_in_flight_resume_promises<F>(&self, f: F) where F: FnOnce(), |