mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix formatting issues
This commit is contained in:
parent
c7c174f837
commit
60ba3d2573
2 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ impl AudioContextMethods for AudioContext {
|
|||
#[allow(unsafe_code)]
|
||||
fn Suspend(&self) -> Rc<Promise> {
|
||||
// Step 1.
|
||||
let promise = unsafe {Promise::new_in_current_compartment(&self.global()) };
|
||||
let promise = unsafe { Promise::new_in_current_compartment(&self.global()) };
|
||||
|
||||
// Step 2.
|
||||
if self.context.control_thread_state() == ProcessingState::Closed {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue