mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Use internal mutability for Window::browser_context.
This commit is contained in:
parent
288e0bc877
commit
07c67a1d5a
3 changed files with 8 additions and 8 deletions
|
@ -632,7 +632,7 @@ pub extern fn outerize_global(_cx: *mut JSContext, obj: JSHandleObject) -> *mut
|
|||
IDLInterface::get_prototype_depth(None::<window::Window>))
|
||||
.unwrap()
|
||||
.root();
|
||||
win.deref().browser_context.get_ref().window_proxy()
|
||||
win.deref().browser_context.deref().borrow().get_ref().window_proxy()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue