aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx_traits
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2016-04-15 09:49:13 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2016-04-19 09:08:44 -0500
commitcfb066ef2024f05a13da842cedf833a8aa2e8cbe (patch)
treeed58db7aaa3c563a07e185ccb8b350598f30cb2a /components/gfx_traits
parenta7c885706ec4bd526b00ecad5d870415ae6cc1e1 (diff)
downloadservo-cfb066ef2024f05a13da842cedf833a8aa2e8cbe.tar.gz
servo-cfb066ef2024f05a13da842cedf833a8aa2e8cbe.zip
Added a dedicated panic channel.
Diffstat (limited to 'components/gfx_traits')
-rw-r--r--components/gfx_traits/lib.rs14
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,