aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/page.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/page.rs')
-rw-r--r--components/script/page.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/page.rs b/components/script/page.rs
index cea2ddefc27..0a226211016 100644
--- a/components/script/page.rs
+++ b/components/script/page.rs
@@ -76,7 +76,7 @@ impl Page {
Temporary::new(self.frame.borrow().as_ref().unwrap().window.clone())
}
- pub fn window_for_script_dealloation(&self) -> Unrooted<Window> {
+ pub fn window_for_script_deallocation(&self) -> Unrooted<Window> {
Unrooted::from_js(self.frame.borrow().as_ref().unwrap().window)
}