aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/record.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/bindings/record.rs')
-rw-r--r--components/script/dom/bindings/record.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/bindings/record.rs b/components/script/dom/bindings/record.rs
index 86453b59fc3..c54a2403d70 100644
--- a/components/script/dom/bindings/record.rs
+++ b/components/script/dom/bindings/record.rs
@@ -120,12 +120,12 @@ where
}
rooted!(in(cx) let object = value.to_object());
- let ids = IdVector::new(cx);
+ let mut ids = IdVector::new(cx);
if !GetPropertyKeys(
cx,
object.handle(),
JSITER_OWNONLY | JSITER_HIDDEN | JSITER_SYMBOLS,
- ids.get(),
+ ids.handle_mut(),
) {
return Err(());
}