mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove unused argument from AlreadyInRealm::assert.
This commit is contained in:
parent
fca5833e21
commit
5e5669b945
8 changed files with 10 additions and 12 deletions
|
@ -67,8 +67,7 @@ impl MediaDevicesMethods for MediaDevices {
|
|||
/// https://w3c.github.io/mediacapture-main/#dom-mediadevices-enumeratedevices
|
||||
fn EnumerateDevices(&self) -> Rc<Promise> {
|
||||
// Step 1.
|
||||
let global = self.global();
|
||||
let in_realm_proof = AlreadyInRealm::assert(&global);
|
||||
let in_realm_proof = AlreadyInRealm::assert();
|
||||
let p = Promise::new_in_current_realm(InRealm::Already(&in_realm_proof));
|
||||
|
||||
// Step 2.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue