mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
switched window.page from *mut Page to @mut Page
This commit is contained in:
parent
43491d5b23
commit
df5306e358
5 changed files with 17 additions and 26 deletions
|
@ -22,7 +22,7 @@ impl DOMParser {
|
|||
};
|
||||
|
||||
// TODO(tkuehn): This just handles the top-level page. Need to handle subframes.
|
||||
let cx = unsafe {(*owner.page).js_info.get_ref().js_compartment.cx.ptr};
|
||||
let cx = owner.page.js_info.get_ref().js_compartment.cx.ptr;
|
||||
let cache = owner.get_wrappercache();
|
||||
let scope = cache.get_wrapper();
|
||||
parser.wrap_object_shared(cx, scope);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue