mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -48,7 +48,7 @@ impl Reflector {
|
|||
#[inline]
|
||||
pub fn get_jsobject(&self) -> HandleObject {
|
||||
// We're rooted, so it's safe to hand out a handle to object in Heap
|
||||
unsafe { self.object.handle() }
|
||||
unsafe { HandleObject::from_raw(self.object.handle()) }
|
||||
}
|
||||
|
||||
/// Initialize the reflector. (May be called only once.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue