diff options
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r-- | components/script/timers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs index 202a8edc8ae..2bcf2b478e9 100644 --- a/components/script/timers.rs +++ b/components/script/timers.rs @@ -522,6 +522,6 @@ impl JsTimerTask { // always done via rooted JsTimers, which is safe. #[allow(unsafe_code)] fn collect_heap_args<'b>(&self, args: &'b [Heap<JSVal>]) -> Vec<HandleValue<'b>> { - args.iter().map(|arg| unsafe { arg.handle() }).collect() + args.iter().map(|arg| unsafe { HandleValue::from_raw(arg.handle()) }).collect() } } |