diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-05-24 16:46:13 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-05-25 15:41:01 +0200 |
commit | 4f893ee96e92ebbf50409ac451b6ab4eb344f68c (patch) | |
tree | 0832e0e1ea3c53bd010c92ef3bc9f3157ae80dec /components/constellation/pipeline.rs | |
parent | 1640ade0b3f703b54c2c2285271d44a037f7eabc (diff) | |
download | servo-4f893ee96e92ebbf50409ac451b6ab4eb344f68c.tar.gz servo-4f893ee96e92ebbf50409ac451b6ab4eb344f68c.zip |
Remove ScriptThread::layout_to_constellation_chan.
Instead, pass it along in NewLayoutInfo when needed.
Diffstat (limited to 'components/constellation/pipeline.rs')
-rw-r--r-- | components/constellation/pipeline.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs index 2170fd8be03..b0a321cd5f9 100644 --- a/components/constellation/pipeline.rs +++ b/components/constellation/pipeline.rs @@ -166,6 +166,7 @@ impl Pipeline { paint_chan: layout_to_paint_chan.clone().to_opaque(), panic_chan: state.panic_chan.clone(), pipeline_port: pipeline_port, + layout_to_constellation_chan: state.layout_to_constellation_chan.clone(), layout_shutdown_chan: layout_shutdown_chan.clone(), content_process_shutdown_chan: layout_content_process_shutdown_chan.clone(), }; @@ -410,7 +411,6 @@ impl UnprivilegedPipelineContent { control_chan: self.script_chan.clone(), control_port: mem::replace(&mut self.script_port, None).expect("No script port."), constellation_chan: self.constellation_chan.clone(), - layout_to_constellation_chan: self.layout_to_constellation_chan.clone(), scheduler_chan: self.scheduler_chan.clone(), panic_chan: self.panic_chan.clone(), bluetooth_thread: self.bluetooth_thread.clone(), |