mirror of
https://github.com/servo/servo
synced 2026-05-01 11:57:31 +02:00
Pass InCompartment by value
This commit is contained in:
@@ -76,7 +76,7 @@ impl BluetoothRemoteGATTServerMethods for BluetoothRemoteGATTServer {
|
||||
let in_compartment_proof = AlreadyInCompartment::assert(&self.global());
|
||||
let p = Promise::new_in_current_compartment(
|
||||
&self.global(),
|
||||
&InCompartment::Already(&in_compartment_proof),
|
||||
InCompartment::Already(&in_compartment_proof),
|
||||
);
|
||||
let sender = response_async(&p, self);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user