diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2015-10-08 20:47:54 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2015-10-10 07:43:11 -0700 |
commit | e2e142aae8d030c6f1a9a5f2b4e647ffda0b1a38 (patch) | |
tree | 6db2a88f437ca5d8fe8c4ab3b99b0cd3f32d6604 /components/compositing/compositor_task.rs | |
parent | b649246fe2a14eacbf4e390c3161d980fc845773 (diff) | |
download | servo-e2e142aae8d030c6f1a9a5f2b4e647ffda0b1a38.tar.gz servo-e2e142aae8d030c6f1a9a5f2b4e647ffda0b1a38.zip |
Replace libpng with image everywhere.
Diffstat (limited to 'components/compositing/compositor_task.rs')
-rw-r--r-- | components/compositing/compositor_task.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/compositing/compositor_task.rs b/components/compositing/compositor_task.rs index b4388ed5132..cff97842653 100644 --- a/components/compositing/compositor_task.rs +++ b/components/compositing/compositor_task.rs @@ -13,8 +13,7 @@ use layers::platform::surface::{NativeDisplay, NativeSurface}; use msg::compositor_msg::{Epoch, FrameTreeId, LayerId, LayerProperties}; use msg::compositor_msg::{PaintListener, ScriptToCompositorMsg}; use msg::constellation_msg::{AnimationState, ConstellationChan, PipelineId}; -use msg::constellation_msg::{Key, KeyModifiers, KeyState}; -use png; +use msg::constellation_msg::{Image, Key, KeyModifiers, KeyState}; use profile_traits::mem; use profile_traits::time; use std::fmt::{Debug, Error, Formatter}; @@ -193,7 +192,7 @@ pub enum Msg { /// Changes the cursor. SetCursor(Cursor), /// Composite to a PNG file and return the Image over a passed channel. - CreatePng(IpcSender<Option<png::Image>>), + CreatePng(IpcSender<Option<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 |