diff options
Diffstat (limited to 'components/gfx_traits/lib.rs')
-rw-r--r-- | components/gfx_traits/lib.rs | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/components/gfx_traits/lib.rs b/components/gfx_traits/lib.rs index e75700c379c..0d13f45f4a3 100644 --- a/components/gfx_traits/lib.rs +++ b/components/gfx_traits/lib.rs @@ -25,21 +25,9 @@ pub use paint_listener::PaintListener; use azure::azure_hl::Color; use euclid::Matrix4D; use euclid::rect::Rect; -use msg::constellation_msg::{Failure, PipelineId}; +use msg::constellation_msg::{PipelineId}; use std::fmt::{self, Debug, Formatter}; -/// Messages from the paint task to the constellation. -#[derive(Deserialize, Serialize)] -pub enum PaintMsg { - Failure(Failure), -} - -impl From<Failure> for PaintMsg { - fn from(failure: Failure) -> PaintMsg { - PaintMsg::Failure(failure) - } -} - #[derive(Clone, Copy, Debug, PartialEq)] pub enum LayerKind { NoTransform, |