diff options
Diffstat (limited to 'components/compositing/lib.rs')
-rw-r--r-- | components/compositing/lib.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/compositing/lib.rs b/components/compositing/lib.rs index 9ff82438d66..6563737573a 100644 --- a/components/compositing/lib.rs +++ b/components/compositing/lib.rs @@ -41,9 +41,8 @@ pub use compositor_thread::{CompositorEventListener, CompositorProxy, Compositor use euclid::size::TypedSize2D; use gfx::paint_thread::ChromeToPaintMsg; use ipc_channel::ipc::IpcSender; -use layout_traits::LayoutControlChan; use msg::constellation_msg::PipelineId; -use script_traits::ConstellationControlMsg; +use script_traits::{ConstellationControlMsg, LayoutControlMsg}; use std::sync::mpsc::Sender; use util::geometry::PagePx; @@ -66,6 +65,6 @@ pub struct SendableFrameTree { pub struct CompositionPipeline { pub id: PipelineId, pub script_chan: IpcSender<ConstellationControlMsg>, - pub layout_chan: LayoutControlChan, + pub layout_chan: IpcSender<LayoutControlMsg>, pub chrome_to_paint_chan: Sender<ChromeToPaintMsg>, } |