mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Pass InCompartment by value
This commit is contained in:
parent
1b6949d4cf
commit
e2e6e2ac94
26 changed files with 52 additions and 50 deletions
|
@ -139,7 +139,7 @@ pub fn Fetch(
|
|||
|
||||
// Step 1
|
||||
let aic = AlreadyInCompartment::assert(global);
|
||||
let promise = Promise::new_in_current_compartment(global, &InCompartment::Already(&aic));
|
||||
let promise = Promise::new_in_current_compartment(global, InCompartment::Already(&aic));
|
||||
let response = Response::new(global);
|
||||
|
||||
// Step 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue