mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Pass a MutableHandle to fill_property_descriptor.
This commit is contained in:
parent
4ceea0426c
commit
6928fbfa31
3 changed files with 5 additions and 5 deletions
|
@ -186,7 +186,7 @@ pub fn ensure_expando_object(cx: *mut JSContext, obj: HandleObject) -> *mut JSOb
|
|||
|
||||
/// Set the property descriptor's object to `obj` and set it to enumerable,
|
||||
/// and writable if `readonly` is true.
|
||||
pub fn fill_property_descriptor(desc: &mut PropertyDescriptor,
|
||||
pub fn fill_property_descriptor(mut desc: MutableHandle<PropertyDescriptor>,
|
||||
obj: *mut JSObject,
|
||||
attrs: u32) {
|
||||
desc.obj = obj;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue