mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update js.
This commit is contained in:
parent
0d6d6a0500
commit
a9671550ff
5 changed files with 32 additions and 5 deletions
|
@ -78,7 +78,7 @@ impl BrowsingContext {
|
|||
let _ar = JSAutoRequest::new(cx);
|
||||
let parent = win.reflector().get_jsobject();
|
||||
let _ac = JSAutoCompartment::new(cx, parent.get());
|
||||
let wrapper = unsafe { WrapperNew(cx, parent, handler) };
|
||||
let wrapper = unsafe { WrapperNew(cx, parent, handler, ptr::null(), false) };
|
||||
assert!(!wrapper.is_null());
|
||||
self.window_proxy.set(wrapper);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue