aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/message.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_layout_interface/message.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_layout_interface/message.rs')
-rw-r--r--components/script_layout_interface/message.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs
index ae346041439..d17a8fc5e2f 100644
--- a/components/script_layout_interface/message.rs
+++ b/components/script_layout_interface/message.rs
@@ -220,6 +220,5 @@ pub struct NewLayoutThreadInfo {
pub script_chan: IpcSender<ConstellationControlMsg>,
pub image_cache: Arc<dyn ImageCache>,
pub content_process_shutdown_chan: Option<IpcSender<()>>,
- pub layout_threads: usize,
pub paint_time_metrics: PaintTimeMetrics,
}