Privatize Pipeline::new().

This commit is contained in:
Ms2ger 2016-05-26 10:11:51 +02:00
parent 4dcb05ca4f
commit cc83cb8b09

View file

@ -245,17 +245,17 @@ impl Pipeline {
(pipeline, unprivileged_pipeline_content, privileged_pipeline_content) (pipeline, unprivileged_pipeline_content, privileged_pipeline_content)
} }
pub fn new(id: PipelineId, fn new(id: PipelineId,
parent_info: Option<(PipelineId, SubpageId, FrameType)>, parent_info: Option<(PipelineId, SubpageId, FrameType)>,
script_chan: IpcSender<ConstellationControlMsg>, script_chan: IpcSender<ConstellationControlMsg>,
layout_chan: LayoutControlChan, layout_chan: LayoutControlChan,
compositor_proxy: Box<CompositorProxy + 'static + Send>, compositor_proxy: Box<CompositorProxy + 'static + Send>,
chrome_to_paint_chan: Sender<ChromeToPaintMsg>, chrome_to_paint_chan: Sender<ChromeToPaintMsg>,
layout_shutdown_port: IpcReceiver<()>, layout_shutdown_port: IpcReceiver<()>,
paint_shutdown_port: IpcReceiver<()>, paint_shutdown_port: IpcReceiver<()>,
url: Url, url: Url,
size: Option<TypedSize2D<PagePx, f32>>) size: Option<TypedSize2D<PagePx, f32>>)
-> Pipeline { -> Pipeline {
Pipeline { Pipeline {
id: id, id: id,
parent_info: parent_info, parent_info: parent_info,