aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r--components/script/dom/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index 173ecb39433..faa4dfffdfd 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -210,7 +210,7 @@ impl<'a> WindowMethods for JSRef<'a, Window> {
fn Console(self) -> Temporary<Console> {
if self.console.get().is_none() {
- let console = Console::new(&global::Window(self));
+ let console = Console::new(global::Window(self));
self.console.assign(Some(console));
}
self.console.get().unwrap()