aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_interface.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r--components/script/layout_interface.rs9
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<()>,
}