diff options
Diffstat (limited to 'components/compositing/compositor_task.rs')
-rw-r--r-- | components/compositing/compositor_task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/compositing/compositor_task.rs b/components/compositing/compositor_task.rs index d8ada04bbdf..b9738685f6b 100644 --- a/components/compositing/compositor_task.rs +++ b/components/compositing/compositor_task.rs @@ -13,7 +13,7 @@ use windowing::{WindowEvent, WindowMethods}; use euclid::point::Point2D; use euclid::rect::Rect; -use ipc_channel::ipc::IpcReceiver; +use ipc_channel::ipc::{IpcReceiver, IpcSender}; use layers::platform::surface::NativeDisplay; use layers::layers::{BufferRequest, LayerBuffer, LayerBufferSet}; use msg::compositor_msg::{Epoch, LayerId, LayerProperties, FrameTreeId}; @@ -183,7 +183,7 @@ pub enum Msg { /// Changes the cursor. SetCursor(Cursor), /// Composite to a PNG file and return the Image over a passed channel. - CreatePng(Sender<Option<png::Image>>), + CreatePng(IpcSender<Option<png::Image>>), /// Informs the compositor that the paint task for the given pipeline has exited. PaintTaskExited(PipelineId), /// Alerts the compositor that the viewport has been constrained in some manner |