mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Replace unsafe uses of HandleValueArray. (#34588)
* Replace unsafe uses of HandleValueArray. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Fix clippy lint. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
2328145c25
commit
a85241e635
11 changed files with 33 additions and 106 deletions
|
@ -255,7 +255,7 @@ pub unsafe fn jsval_to_webdriver(
|
|||
cx,
|
||||
object.handle(),
|
||||
name.as_ptr(),
|
||||
&HandleValueArray::new(),
|
||||
&HandleValueArray::empty(),
|
||||
value.handle_mut(),
|
||||
) {
|
||||
jsval_to_webdriver(cx, global_scope, value.handle())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue