mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove the unused PipelineExitType from LayoutToPaintMsg::Exit.
This commit is contained in:
parent
a01fd7732d
commit
995d022bb9
2 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue