mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix some warnings caused by the SM upgrade
This commit is contained in:
parent
e7808c526c
commit
b7301ca06c
13 changed files with 16 additions and 19 deletions
|
@ -143,7 +143,7 @@ impl CallbackInterface {
|
|||
/// Wraps the reflector for `p` into the compartment of `cx`.
|
||||
pub fn wrap_call_this_object<T: Reflectable>(cx: *mut JSContext,
|
||||
p: &T,
|
||||
mut rval: MutableHandleObject) {
|
||||
rval: MutableHandleObject) {
|
||||
rval.set(p.reflector().get_jsobject().get());
|
||||
assert!(!rval.get().is_null());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue