diff options
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r-- | components/layout_thread/lib.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index 2febabce08b..887c31f4657 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -306,7 +306,6 @@ impl LayoutThreadFactory for LayoutThread { font_cache_thread: FontCacheThread, time_profiler_chan: profile_time::ProfilerChan, mem_profiler_chan: profile_mem::ProfilerChan, - content_process_shutdown_chan: Option<IpcSender<()>>, webrender_api_sender: webrender_api::RenderApiSender, webrender_document: webrender_api::DocumentId, paint_time_metrics: PaintTimeMetrics, @@ -383,9 +382,6 @@ impl LayoutThreadFactory for LayoutThread { Msg::CollectReports, ); } - if let Some(content_process_shutdown_chan) = content_process_shutdown_chan { - let _ = content_process_shutdown_chan.send(()); - } }) .expect("Thread spawning failed"); } @@ -951,7 +947,6 @@ impl LayoutThread { self.font_cache_thread.clone(), self.time_profiler_chan.clone(), self.mem_profiler_chan.clone(), - info.content_process_shutdown_chan, self.webrender_api.clone_sender(), self.webrender_document, info.paint_time_metrics, |