aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_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/layout_traits
parenta7c885706ec4bd526b00ecad5d870415ae6cc1e1 (diff)
downloadservo-cfb066ef2024f05a13da842cedf833a8aa2e8cbe.tar.gz
servo-cfb066ef2024f05a13da842cedf833a8aa2e8cbe.zip
Added a dedicated panic channel.
Diffstat (limited to 'components/layout_traits')
-rw-r--r--components/layout_traits/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/layout_traits/lib.rs b/components/layout_traits/lib.rs
index f06dc14392d..61f9618f421 100644
--- a/components/layout_traits/lib.rs
+++ b/components/layout_traits/lib.rs
@@ -26,7 +26,7 @@ extern crate webrender_traits;
use gfx::font_cache_thread::FontCacheThread;
use gfx::paint_thread::LayoutToPaintMsg;
use ipc_channel::ipc::{IpcReceiver, IpcSender};
-use msg::constellation_msg::{ConstellationChan, Failure, PipelineId};
+use msg::constellation_msg::{ConstellationChan, PanicMsg, PipelineId};
use net_traits::image_cache_thread::ImageCacheThread;
use profile_traits::{mem, time};
use script_traits::LayoutMsg as ConstellationMsg;
@@ -49,7 +49,7 @@ pub trait LayoutThreadFactory {
chan: OpaqueScriptLayoutChannel,
pipeline_port: IpcReceiver<LayoutControlMsg>,
constellation_chan: ConstellationChan<ConstellationMsg>,
- failure_msg: Failure,
+ panic_chan: ConstellationChan<PanicMsg>,
script_chan: IpcSender<ConstellationControlMsg>,
layout_to_paint_chan: OptionalIpcSender<LayoutToPaintMsg>,
image_cache_thread: ImageCacheThread,