diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2018-05-30 14:44:47 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2018-05-30 14:44:47 -0500 |
commit | d0cc9d2cd56a197fdfb72d8c0168d4cf2bb23bdb (patch) | |
tree | 150c4f8b1b07d2fcc5944315954e1414552768c2 /components/script/timers.rs | |
parent | 0786e34a3af55377f2d9eac81c0960a8b13acfda (diff) | |
download | servo-d0cc9d2cd56a197fdfb72d8c0168d4cf2bb23bdb.tar.gz servo-d0cc9d2cd56a197fdfb72d8c0168d4cf2bb23bdb.zip |
Updated to mozjs v0.7.1.
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() } } |