aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.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/script/script_thread.rs
parent9bba14cb438cf5ac08945bb8fbb5a0f31d43fcbe (diff)
downloadservo-8482d2e781fc948d0d33b0366005264c4f99ccdd.tar.gz
servo-8482d2e781fc948d0d33b0366005264c4f99ccdd.zip
restructure content process shutdown ack with threaded sender, without layout
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index f545689041c..8347113791e 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -612,7 +612,7 @@ pub struct ScriptThread {
timer_event_chan: Sender<TimerEvent>,
timer_event_port: Receiver<TimerEvent>,
- content_process_shutdown_chan: IpcSender<()>,
+ content_process_shutdown_chan: Sender<()>,
/// <https://html.spec.whatwg.org/multipage/#microtask-queue>
microtask_queue: Rc<MicrotaskQueue>,
@@ -2276,7 +2276,6 @@ impl ScriptThread {
load_data,
window_size,
pipeline_port,
- content_process_shutdown_chan,
} = new_layout_info;
let layout_pair = unbounded();
@@ -2294,7 +2293,6 @@ impl ScriptThread {
constellation_chan: self.layout_to_constellation_chan.clone(),
script_chan: self.control_chan.clone(),
image_cache: self.image_cache.clone(),
- content_process_shutdown_chan: content_process_shutdown_chan,
paint_time_metrics: PaintTimeMetrics::new(
new_pipeline_id,
self.time_profiler_chan.clone(),