Privatize Document

This commit is contained in:
Tim Taubert 2014-10-12 23:29:52 +02:00
parent d0addd36bb
commit 8825296869
8 changed files with 38 additions and 22 deletions

View file

@ -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 {