mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix formatting.
This commit is contained in:
parent
5e5669b945
commit
9ea1399c30
4 changed files with 7 additions and 15 deletions
|
@ -719,8 +719,7 @@ impl Callback for ConsumeBodyPromiseHandler {
|
|||
#[allow(unrooted_must_root)]
|
||||
pub fn consume_body<T: BodyMixin + DomObject>(object: &T, body_type: BodyType) -> Rc<Promise> {
|
||||
let in_realm_proof = AlreadyInRealm::assert();
|
||||
let promise =
|
||||
Promise::new_in_current_realm(InRealm::Already(&in_realm_proof));
|
||||
let promise = Promise::new_in_current_realm(InRealm::Already(&in_realm_proof));
|
||||
|
||||
// Step 1
|
||||
if object.is_disturbed() || object.is_locked() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue