Remove the unused PipelineExitType field from ChromeToPaintMsg::Exit.

This commit is contained in:
Ms2ger 2015-11-05 16:31:37 +01:00
parent ffffc5f065
commit f37b8e9f4d
2 changed files with 4 additions and 5 deletions

View file

@ -276,8 +276,7 @@ impl Pipeline {
pub fn force_exit(&self) {
let _ = self.script_chan.send(ConstellationControlMsg::ExitPipeline(self.id)).unwrap();
let _ = self.chrome_to_paint_chan.send(ChromeToPaintMsg::Exit(
PipelineExitType::PipelineOnly));
let _ = self.chrome_to_paint_chan.send(ChromeToPaintMsg::Exit);
let LayoutControlChan(ref layout_channel) = self.layout_chan;
let _ = layout_channel.send(
LayoutControlMsg::ExitNow(PipelineExitType::PipelineOnly)).unwrap();