mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove Traceable/Untraceable from page.rs
This commit is contained in:
parent
22567762a0
commit
707a2870fa
9 changed files with 95 additions and 76 deletions
|
@ -56,7 +56,7 @@ impl BrowserContext {
|
|||
assert!(handler.deref().is_not_null());
|
||||
|
||||
let parent = win.deref().reflector().get_jsobject();
|
||||
let cx = js_info.as_ref().unwrap().js_context.deref().deref().ptr;
|
||||
let cx = js_info.as_ref().unwrap().js_context.deref().ptr;
|
||||
let wrapper = with_compartment(cx, parent, || unsafe {
|
||||
WrapperNew(cx, parent, *handler.deref())
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue