mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +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
|
@ -798,7 +798,7 @@ impl<T> RootedTraceableBox<Heap<T>>
|
|||
T: GCMethods + Copy,
|
||||
{
|
||||
pub fn handle(&self) -> Handle<T> {
|
||||
unsafe { (*self.ptr).handle() }
|
||||
unsafe { Handle::from_raw((*self.ptr).handle()) }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue