diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-07-14 08:46:07 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-07-14 08:46:07 -0600 |
commit | 64751b8eef5b95de9ac3b9a382b4cb4408cb90c0 (patch) | |
tree | 4e02e50c4a9678df7cb1057d0da2b5a284866e3c /components/script/layout_interface.rs | |
parent | 7de4ba0f826f8239d6ac540417028265e62085c5 (diff) | |
parent | 9ce65c08a51d1a2a62c1d50ca97415f31df2e5fe (diff) | |
download | servo-64751b8eef5b95de9ac3b9a382b4cb4408cb90c0.tar.gz servo-64751b8eef5b95de9ac3b9a382b4cb4408cb90c0.zip |
Auto merge of #6596 - pcwalton:layout-control-ipc, r=jdm
compositing: Make `ScriptListener` and `LayoutControlChan` messages go over IPC.
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6596)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r-- | components/script/layout_interface.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs index b88f60c6b4e..7db08689279 100644 --- a/components/script/layout_interface.rs +++ b/components/script/layout_interface.rs @@ -10,6 +10,7 @@ use dom::node::LayoutData; use euclid::point::Point2D; use euclid::rect::Rect; +use ipc_channel::ipc::IpcSender; use libc::uintptr_t; use msg::compositor_msg::LayerId; use msg::constellation_msg::{PipelineExitType, WindowSizeData}; @@ -71,7 +72,7 @@ pub enum Msg { ExitNow(PipelineExitType), /// Get the last epoch counter for this layout task. - GetCurrentEpoch(Sender<Epoch>) + GetCurrentEpoch(IpcSender<Epoch>) } /// Synchronous messages that script can send to layout. |