mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Make Promise::reject_native sound
This commit is contained in:
parent
5addc2dfa3
commit
15acd1525e
4 changed files with 11 additions and 9 deletions
|
@ -73,7 +73,7 @@ impl VRMethods for VR {
|
|||
}
|
||||
},
|
||||
Err(e) => {
|
||||
promise.reject_native(promise.global().get_cx(), &e);
|
||||
promise.reject_native(&e);
|
||||
return promise;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue