diff options
author | josiahdaniels <josiahd6@gmail.com> | 2015-04-12 17:38:38 -0400 |
---|---|---|
committer | josiahdaniels <josiahd6@gmail.com> | 2015-04-12 17:38:38 -0400 |
commit | 5e90299450c7241b2304786424c3461bde29da18 (patch) | |
tree | 5403014db82292770122f112e39edb7f993310f4 /components/script/page.rs | |
parent | b019df892790cba347ba848d0e72e3c24a311c18 (diff) | |
download | servo-5e90299450c7241b2304786424c3461bde29da18.tar.gz servo-5e90299450c7241b2304786424c3461bde29da18.zip |
Use Page::window_for_script_deallocation in ScriptMemoryFailsafe
Also: Rename window_for_script_dealloation to window_for_script_deallocation
Diffstat (limited to 'components/script/page.rs')
-rw-r--r-- | components/script/page.rs | 2 |
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) } |