Update js.

This commit is contained in:
Ms2ger 2016-11-02 13:25:49 +01:00
parent ba2fb4e2e2
commit 558afe1786
8 changed files with 14 additions and 14 deletions

View file

@ -178,7 +178,7 @@ pub fn ensure_expando_object(cx: *mut JSContext, obj: HandleObject) -> *mut JSOb
expando = JS_NewObjectWithGivenProto(cx, ptr::null_mut(), HandleObject::null());
assert!(!expando.is_null());
SetProxyExtra(obj.get(), JSPROXYSLOT_EXPANDO, &ObjectValue(&*expando));
SetProxyExtra(obj.get(), JSPROXYSLOT_EXPANDO, &ObjectValue(expando));
}
expando
}