diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2015-07-10 11:16:27 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2015-07-18 12:43:08 -0700 |
commit | b6485a9eafacc29661aa9d0e3cdcd477eefdb66f (patch) | |
tree | f35644c31699e771b6b2f646831264e6ae6c2087 /components/compositing/compositor_task.rs | |
parent | a0cf597946446c427c54da363fe989ff68db4270 (diff) | |
download | servo-b6485a9eafacc29661aa9d0e3cdcd477eefdb66f.tar.gz servo-b6485a9eafacc29661aa9d0e3cdcd477eefdb66f.zip |
compositing: Make the constellation messages serializable.
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 |