diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-07-24 17:00:10 -0700 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2015-11-19 16:38:04 -0500 |
commit | 1c130819ca6fdcef66495ea3dabf9d9575774d52 (patch) | |
tree | d5c58d9891ee0958aeeffdb04f86fd813fe0a4c3 /components/script/layout_interface.rs | |
parent | ff4171170dba925b9036bf59af7dc17202273af1 (diff) | |
download | servo-1c130819ca6fdcef66495ea3dabf9d9575774d52.tar.gz servo-1c130819ca6fdcef66495ea3dabf9d9575774d52.zip |
compositing: Split Servo up into multiple sandboxed processes.
Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r-- | components/script/layout_interface.rs | 9 |
1 files changed, 6 insertions, 3 deletions
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<LayoutControlMsg>, pub constellation_chan: ConstellationChan<ConstellationMsg>, pub failure: Failure, - pub script_chan: Sender<ConstellationControlMsg>, + pub script_chan: IpcSender<ConstellationControlMsg>, pub image_cache_task: ImageCacheTask, - pub paint_chan: Box<Any + Send>, - pub layout_shutdown_chan: Sender<()>, + pub paint_chan: OptionalOpaqueIpcSender, + pub layout_shutdown_chan: IpcSender<()>, + pub content_process_shutdown_chan: IpcSender<()>, } |