diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs index a5f9d952a1b..762a34c25e0 100644 --- a/components/constellation/pipeline.rs +++ b/components/constellation/pipeline.rs @@ -245,17 +245,17 @@ impl Pipeline { (pipeline, unprivileged_pipeline_content, privileged_pipeline_content) } - pub fn new(id: PipelineId, - parent_info: Option<(PipelineId, SubpageId, FrameType)>, - script_chan: IpcSender, - layout_chan: LayoutControlChan, - compositor_proxy: Box, - chrome_to_paint_chan: Sender, - layout_shutdown_port: IpcReceiver<()>, - paint_shutdown_port: IpcReceiver<()>, - url: Url, - size: Option>) - -> Pipeline { + fn new(id: PipelineId, + parent_info: Option<(PipelineId, SubpageId, FrameType)>, + script_chan: IpcSender, + layout_chan: LayoutControlChan, + compositor_proxy: Box, + chrome_to_paint_chan: Sender, + layout_shutdown_port: IpcReceiver<()>, + paint_shutdown_port: IpcReceiver<()>, + url: Url, + size: Option>) + -> Pipeline { Pipeline { id: id, parent_info: parent_info,