aboutsummaryrefslogtreecommitdiffstats
path: root/components/constellation/pipeline.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-11-28 10:14:28 +0100
committerMs2ger <Ms2ger@gmail.com>2016-11-30 01:24:46 +0100
commit14459e22119c076904794e1a47c777f69d10e2d8 (patch)
tree6b28ec9e994d7a36ad0a09fb0b5deb006b3a57dd /components/constellation/pipeline.rs
parentc044b669794204d77925c5b09706d1242daa534a (diff)
downloadservo-14459e22119c076904794e1a47c777f69d10e2d8.tar.gz
servo-14459e22119c076904794e1a47c777f69d10e2d8.zip
Store the layout-to-constellation sender in the script thread.
This will allow the script thread to spawn layout threads independently.
Diffstat (limited to 'components/constellation/pipeline.rs')
-rw-r--r--components/constellation/pipeline.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs
index 1f352ae27e4..0ea23e80d45 100644
--- a/components/constellation/pipeline.rs
+++ b/components/constellation/pipeline.rs
@@ -165,7 +165,6 @@ impl Pipeline {
load_data: state.load_data.clone(),
window_size: window_size,
pipeline_port: pipeline_port,
- layout_to_constellation_chan: state.layout_to_constellation_chan.clone(),
content_process_shutdown_chan: Some(layout_content_process_shutdown_chan.clone()),
layout_threads: PREFS.get("layout.threads").as_u64().expect("count") as usize,
};
@@ -424,6 +423,7 @@ impl UnprivilegedPipelineContent {
control_chan: self.script_chan.clone(),
control_port: self.script_port,
constellation_chan: self.constellation_chan,
+ layout_to_constellation_chan: self.layout_to_constellation_chan.clone(),
scheduler_chan: self.scheduler_chan,
bluetooth_thread: self.bluetooth_thread,
resource_threads: self.resource_threads,