Update js.

This commit is contained in:
Ms2ger 2015-08-18 12:20:46 +02:00
parent 0d6d6a0500
commit a9671550ff
5 changed files with 32 additions and 5 deletions

View file

@ -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);
}