mirror of
https://github.com/servo/servo
synced 2026-04-30 11:27:28 +02:00
Pass a MutableHandle to fill_property_descriptor.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user