From 1c130819ca6fdcef66495ea3dabf9d9575774d52 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 24 Jul 2015 17:00:10 -0700 Subject: compositing: Split Servo up into multiple sandboxed processes. Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch. --- components/script/layout_interface.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'components/script/layout_interface.rs') diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs index cf9bae13e3b..4a78e23e23c 100644 --- a/components/script/layout_interface.rs +++ b/components/script/layout_interface.rs @@ -29,6 +29,8 @@ use string_cache::Atom; use style::animation::PropertyAnimation; use style::stylesheets::Stylesheet; use url::Url; +use util::ipc::OptionalOpaqueIpcSender; + pub use dom::node::TrustedNodeAddress; /// Asynchronous messages that script can send to layout. @@ -254,8 +256,9 @@ pub struct NewLayoutTaskInfo { pub pipeline_port: IpcReceiver, pub constellation_chan: ConstellationChan, pub failure: Failure, - pub script_chan: Sender, + pub script_chan: IpcSender, pub image_cache_task: ImageCacheTask, - pub paint_chan: Box, - pub layout_shutdown_chan: Sender<()>, + pub paint_chan: OptionalOpaqueIpcSender, + pub layout_shutdown_chan: IpcSender<()>, + pub content_process_shutdown_chan: IpcSender<()>, } -- cgit v1.2.3