mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Privatize Document
This commit is contained in:
parent
d0addd36bb
commit
8825296869
8 changed files with 38 additions and 22 deletions
|
@ -39,7 +39,7 @@ impl BrowserContext {
|
|||
|
||||
pub fn active_window(&self) -> Temporary<Window> {
|
||||
let doc = self.active_document().root();
|
||||
Temporary::new(doc.window.clone())
|
||||
Temporary::new(doc.window().clone())
|
||||
}
|
||||
|
||||
pub fn window_proxy(&self) -> *mut JSObject {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue