diff options
author | Ms2ger <Ms2ger@gmail.com> | 2015-11-05 16:11:52 +0100 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2015-11-05 16:17:51 +0100 |
commit | ad33d920e702b4fb0752d83e10b9a6073d2cb66b (patch) | |
tree | d28500b65c05d2a9d57cdfa112877ef556f6c50a /components/script/script_task.rs | |
parent | 5cd250602ffa43d87c8131456be089e749887a3a (diff) | |
download | servo-ad33d920e702b4fb0752d83e10b9a6073d2cb66b.tar.gz servo-ad33d920e702b4fb0752d83e10b9a6073d2cb66b.zip |
Remove the unused PipelineExitType field from layout_interface::Msg::ExitNow.
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r-- | components/script/script_task.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index ac67e4a5996..508e5c476b9 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -1455,7 +1455,7 @@ impl ScriptTask { if chan.send(layout_interface::Msg::PrepareToExit(response_chan)).is_ok() { debug!("shutting down layout for page {:?}", id); response_port.recv().unwrap(); - chan.send(layout_interface::Msg::ExitNow(exit_type)).ok(); + chan.send(layout_interface::Msg::ExitNow).ok(); } let has_pending_loads = self.incomplete_loads.borrow().len() > 0; @@ -1970,7 +1970,7 @@ impl Drop for ScriptTask { } /// Shuts down layout for the given page tree. -fn shut_down_layout(page_tree: &Rc<Page>, exit_type: PipelineExitType) { +fn shut_down_layout(page_tree: &Rc<Page>, _: PipelineExitType) { let mut channels = vec!(); for page in page_tree.iter() { @@ -1995,7 +1995,7 @@ fn shut_down_layout(page_tree: &Rc<Page>, exit_type: PipelineExitType) { // Destroy the layout task. If there were node leaks, layout will now crash safely. for chan in channels { - chan.send(layout_interface::Msg::ExitNow(exit_type)).ok(); + chan.send(layout_interface::Msg::ExitNow).ok(); } } |