mirror of
https://github.com/servo/servo.git
synced 2025-06-13 02:44:29 +00:00
Hoist retrieval of layout_threads from opts into Constellation
This commit is contained in:
parent
9c0e7b1cf2
commit
e182d29441
6 changed files with 26 additions and 10 deletions
|
@ -1142,6 +1142,7 @@ impl ScriptThread {
|
|||
pipeline_port,
|
||||
layout_to_constellation_chan,
|
||||
content_process_shutdown_chan,
|
||||
layout_threads,
|
||||
} = new_layout_info;
|
||||
|
||||
let layout_pair = channel();
|
||||
|
@ -1158,6 +1159,7 @@ impl ScriptThread {
|
|||
script_chan: self.control_chan.clone(),
|
||||
image_cache_thread: self.image_cache_thread.clone(),
|
||||
content_process_shutdown_chan: content_process_shutdown_chan,
|
||||
layout_threads: layout_threads,
|
||||
};
|
||||
|
||||
let context = self.root_browsing_context();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue