From 6eff8d6c32d71eeb6a1f75765653a52d7a2b92d5 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 26 Nov 2015 09:51:55 +0100 Subject: [PATCH] Remove unused PrivilegedPipelineContent::constellation_chan. --- components/compositing/pipeline.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/compositing/pipeline.rs b/components/compositing/pipeline.rs index 14ca16c016f..52ab8c9d539 100644 --- a/components/compositing/pipeline.rs +++ b/components/compositing/pipeline.rs @@ -199,7 +199,7 @@ impl Pipeline { let unprivileged_pipeline_content = UnprivilegedPipelineContent { id: state.id, parent_info: state.parent_info, - constellation_chan: state.constellation_chan.clone(), + constellation_chan: state.constellation_chan, scheduler_chan: state.scheduler_chan, devtools_chan: script_to_devtools_chan, image_cache_task: state.image_cache_task, @@ -228,7 +228,6 @@ impl Pipeline { let privileged_pipeline_content = PrivilegedPipelineContent { id: state.id, - constellation_chan: state.constellation_chan, painter_chan: state.painter_chan, compositor_proxy: state.compositor_proxy, font_cache_task: state.font_cache_task, @@ -432,7 +431,6 @@ impl UnprivilegedPipelineContent { pub struct PrivilegedPipelineContent { id: PipelineId, - constellation_chan: ConstellationChan, painter_chan: ConstellationChan, compositor_proxy: Box, script_to_compositor_port: Option>,