mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove the unused PipelineExitType field from LayoutControlMsg::ExitNow.
This commit is contained in:
parent
f37b8e9f4d
commit
7d3f7220f7
3 changed files with 5 additions and 6 deletions
|
@ -15,7 +15,7 @@ use ipc_channel::router::ROUTER;
|
|||
use layers::geometry::DevicePixel;
|
||||
use layout_traits::{LayoutControlChan, LayoutTaskFactory};
|
||||
use msg::constellation_msg::{ConstellationChan, Failure, FrameId, PipelineId, SubpageId};
|
||||
use msg::constellation_msg::{LoadData, MozBrowserEvent, PipelineExitType, WindowSizeData};
|
||||
use msg::constellation_msg::{LoadData, MozBrowserEvent, WindowSizeData};
|
||||
use msg::constellation_msg::{PipelineNamespaceId};
|
||||
use net_traits::ResourceTask;
|
||||
use net_traits::image_cache_task::ImageCacheTask;
|
||||
|
@ -278,8 +278,7 @@ impl Pipeline {
|
|||
let _ = self.script_chan.send(ConstellationControlMsg::ExitPipeline(self.id)).unwrap();
|
||||
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();
|
||||
let _ = layout_channel.send(LayoutControlMsg::ExitNow).unwrap();
|
||||
}
|
||||
|
||||
pub fn to_sendable(&self) -> CompositionPipeline {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue