Remove the unused PipelineExitType from LayoutToPaintMsg::Exit.

This commit is contained in:
Ms2ger 2015-11-05 15:46:44 +01:00
parent a01fd7732d
commit 995d022bb9
2 changed files with 4 additions and 4 deletions

View file

@ -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()
}