mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +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
|
@ -197,7 +197,7 @@ pub enum Msg {
|
|||
pub enum LayoutToPaintMsg {
|
||||
PaintInit(Epoch, PaintLayer),
|
||||
CanvasLayer(LayerId, IpcSender<CanvasMsg>),
|
||||
Exit(IpcSender<()>, PipelineExitType),
|
||||
Exit(IpcSender<()>),
|
||||
}
|
||||
|
||||
pub enum ChromeToPaintMsg {
|
||||
|
@ -382,7 +382,7 @@ impl<C> PaintTask<C> where C: PaintListener + Send + 'static {
|
|||
// FIXME(njn): should eventually measure the paint task.
|
||||
channel.send(Vec::new())
|
||||
}
|
||||
Msg::FromLayout(LayoutToPaintMsg::Exit(ref response_channel, _)) => {
|
||||
Msg::FromLayout(LayoutToPaintMsg::Exit(ref response_channel)) => {
|
||||
// Ask the compositor to remove any layers it is holding for this paint task.
|
||||
// FIXME(mrobinson): This can probably move back to the constellation now.
|
||||
self.compositor.notify_paint_task_exiting(self.id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue