From 8482d2e781fc948d0d33b0366005264c4f99ccdd Mon Sep 17 00:00:00 2001 From: Gregory Terzian Date: Fri, 9 Aug 2019 15:52:49 +0800 Subject: restructure content process shutdown ack with threaded sender, without layout --- components/layout_thread_2020/lib.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'components/layout_thread_2020/lib.rs') diff --git a/components/layout_thread_2020/lib.rs b/components/layout_thread_2020/lib.rs index 3f6c2e6f8d5..82919fa75c1 100644 --- a/components/layout_thread_2020/lib.rs +++ b/components/layout_thread_2020/lib.rs @@ -243,7 +243,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>, webrender_api_sender: webrender_api::RenderApiSender, webrender_document: webrender_api::DocumentId, paint_time_metrics: PaintTimeMetrics, @@ -312,9 +311,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"); } @@ -819,7 +815,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, -- cgit v1.2.3