aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_traits/lib.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-11-28 10:03:09 +0100
committerMs2ger <Ms2ger@gmail.com>2016-11-30 01:24:45 +0100
commitc044b669794204d77925c5b09706d1242daa534a (patch)
tree607740c3ba4eba93b23fec550d2d4fb60a7fc4cb /components/layout_traits/lib.rs
parent6778043340010bb8c1064d2f21bd218bbe453dc0 (diff)
downloadservo-c044b669794204d77925c5b09706d1242daa534a.tar.gz
servo-c044b669794204d77925c5b09706d1242daa534a.zip
Make the layout content process shutdown sender optional.
Diffstat (limited to 'components/layout_traits/lib.rs')
-rw-r--r--components/layout_traits/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_traits/lib.rs b/components/layout_traits/lib.rs
index 70d6eab10ff..632300aa61b 100644
--- a/components/layout_traits/lib.rs
+++ b/components/layout_traits/lib.rs
@@ -44,7 +44,7 @@ pub trait LayoutThreadFactory {
font_cache_thread: FontCacheThread,
time_profiler_chan: time::ProfilerChan,
mem_profiler_chan: mem::ProfilerChan,
- content_process_shutdown_chan: IpcSender<()>,
+ content_process_shutdown_chan: Option<IpcSender<()>>,
webrender_api_sender: webrender_traits::RenderApiSender,
layout_threads: usize);
}