aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread/lib.rs
diff options
context:
space:
mode:
authorGregory Terzian <gterzian@users.noreply.github.com>2019-08-09 15:52:49 +0800
committerGregory Terzian <gterzian@users.noreply.github.com>2019-08-17 16:03:07 +0200
commit8482d2e781fc948d0d33b0366005264c4f99ccdd (patch)
treed5ffb5a35106b042a40546547222f80c66636c3c /components/layout_thread/lib.rs
parent9bba14cb438cf5ac08945bb8fbb5a0f31d43fcbe (diff)
downloadservo-8482d2e781fc948d0d33b0366005264c4f99ccdd.tar.gz
servo-8482d2e781fc948d0d33b0366005264c4f99ccdd.zip
restructure content process shutdown ack with threaded sender, without layout
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r--components/layout_thread/lib.rs5
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,