aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2018-12-17 23:46:42 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2018-12-23 13:00:56 +0100
commit006e71c7dec624935d3d4faf9ea5f783e2a24a67 (patch)
tree8aafa810734abd03c16c0bdf08aaa341e5e25848 /components/script/script_thread.rs
parent27bb33cb9ec549bbe46b4ebad22d6e21f4dc62ba (diff)
downloadservo-006e71c7dec624935d3d4faf9ea5f783e2a24a67.tar.gz
servo-006e71c7dec624935d3d4faf9ea5f783e2a24a67.zip
style: Make Servo use a single thread-pool for layout-related tasks per-process.
Instead of per-document. This also allows to reuse this thread-pool if needed for other stuff, like parallel CSS parsing (#22478), and to share more code with Gecko, which is always nice.
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 50f6135ff52..8383caa9800 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -1910,7 +1910,6 @@ impl ScriptThread {
window_size,
pipeline_port,
content_process_shutdown_chan,
- layout_threads,
} = new_layout_info;
let layout_pair = unbounded();
@@ -1927,7 +1926,6 @@ impl ScriptThread {
script_chan: self.control_chan.clone(),
image_cache: self.image_cache.clone(),
content_process_shutdown_chan: content_process_shutdown_chan,
- layout_threads: layout_threads,
paint_time_metrics: PaintTimeMetrics::new(
new_pipeline_id,
self.time_profiler_chan.clone(),