mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Updated to mozjs v0.7.1.
This commit is contained in:
parent
0786e34a3a
commit
d0cc9d2cd5
13 changed files with 39 additions and 30 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue