aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-11-05 15:46:44 +0100
committerMs2ger <Ms2ger@gmail.com>2015-11-05 16:00:06 +0100
commit995d022bb9e3b381f36f37995f16562dd6c5ddf0 (patch)
tree39e7dc30b384f6567592e901227d32921432b20a /components/layout/layout_task.rs
parenta01fd7732d3aabcfe8a38d52b82a111dadd3586a (diff)
downloadservo-995d022bb9e3b381f36f37995f16562dd6c5ddf0.tar.gz
servo-995d022bb9e3b381f36f37995f16562dd6c5ddf0.zip
Remove the unused PipelineExitType from LayoutToPaintMsg::Exit.
Diffstat (limited to 'components/layout/layout_task.rs')
-rw-r--r--components/layout/layout_task.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout/layout_task.rs b/components/layout/layout_task.rs
index 97ffc67f8d2..8000c431734 100644
--- a/components/layout/layout_task.rs
+++ b/components/layout/layout_task.rs
@@ -730,7 +730,7 @@ impl LayoutTask {
/// crash.
fn exit_now<'a>(&'a self,
possibly_locked_rw_data: &mut Option<MutexGuard<'a, LayoutTaskData>>,
- exit_type: PipelineExitType) {
+ _: PipelineExitType) {
{
let mut rw_data = self.lock_rw_data(possibly_locked_rw_data);
if let Some(ref mut traversal) = (&mut *rw_data).parallel_traversal {
@@ -740,7 +740,7 @@ impl LayoutTask {
}
let (response_chan, response_port) = ipc::channel().unwrap();
- self.paint_chan.send(LayoutToPaintMsg::Exit(response_chan, exit_type)).unwrap();
+ self.paint_chan.send(LayoutToPaintMsg::Exit(response_chan)).unwrap();
response_port.recv().unwrap()
}