mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -256,7 +256,7 @@ unsafe extern "C" fn getOwnPropertyDescriptor(cx: *mut JSContext,
|
|||
rooted!(in(cx) let mut val = UndefinedValue());
|
||||
window.to_jsval(cx, val.handle_mut());
|
||||
desc.value = val.get();
|
||||
fill_property_descriptor(&mut desc, proxy.get(), JSPROP_READONLY);
|
||||
fill_property_descriptor(desc, proxy.get(), JSPROP_READONLY);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue