aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorDirkjan Ochtman <dirkjan@ochtman.nl>2016-07-19 22:12:07 +0200
committerDirkjan Ochtman <dirkjan@ochtman.nl>2016-07-24 21:45:31 +0200
commite182d29441779b1c17aac66587fbc3729bc04675 (patch)
treeb6c552bee1f93caae534829b9f8cf320154c85d7 /components/script/script_thread.rs
parent9c0e7b1cf2696ac214fcb0ce20f95ae9f16f2ea1 (diff)
downloadservo-e182d29441779b1c17aac66587fbc3729bc04675.tar.gz
servo-e182d29441779b1c17aac66587fbc3729bc04675.zip
Hoist retrieval of layout_threads from opts into Constellation
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index cf0cebf5a65..1ec367e9b75 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -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();