mirror of
https://github.com/servo/servo.git
synced 2025-07-04 05:53:39 +01:00
Privatize Pipeline::new().
This commit is contained in:
parent
4dcb05ca4f
commit
cc83cb8b09
1 changed files with 11 additions and 11 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue