mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove now-unnecessary must_root and allow(unrooted_must_root) annotations
This commit is contained in:
parent
6df1c6d7e7
commit
611dc4bc70
28 changed files with 2 additions and 67 deletions
|
@ -107,7 +107,6 @@ impl AudioContextMethods for AudioContext {
|
|||
}
|
||||
|
||||
// https://webaudio.github.io/web-audio-api/#dom-audiocontext-suspend
|
||||
#[allow(unrooted_must_root)]
|
||||
fn Suspend(&self) -> Rc<Promise> {
|
||||
// Step 1.
|
||||
let promise = Promise::new(&self.global());
|
||||
|
@ -169,7 +168,6 @@ impl AudioContextMethods for AudioContext {
|
|||
}
|
||||
|
||||
// https://webaudio.github.io/web-audio-api/#dom-audiocontext-close
|
||||
#[allow(unrooted_must_root)]
|
||||
fn Close(&self) -> Rc<Promise> {
|
||||
// Step 1.
|
||||
let promise = Promise::new(&self.global());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue