aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/context.rs')
-rw-r--r--components/layout/context.rs11
1 files changed, 10 insertions, 1 deletions
diff --git a/components/layout/context.rs b/components/layout/context.rs
index 1e376166300..bf560ff6cc0 100644
--- a/components/layout/context.rs
+++ b/components/layout/context.rs
@@ -129,7 +129,16 @@ pub struct SharedLayoutContext {
pub goal: ReflowGoal,
}
-unsafe impl Send for SharedLayoutContext {}
+// FIXME(#6569) This implementations is unsound:
+// XXX UNSOUND!!! for image_cache_task
+// XXX UNSOUND!!! for image_cache_sender
+// XXX UNSOUND!!! for constellation_chan
+// XXX UNSOUND!!! for layout_chan
+// XXX UNSOUND!!! for font_cache_task
+// XXX UNSOUND!!! for stylist
+// XXX UNSOUND!!! for new_animations_sender
+// XXX UNSOUND!!! for canvas_layers_sender
+unsafe impl Sync for SharedLayoutContext {}
pub struct LayoutContext<'a> {
pub shared: &'a SharedLayoutContext,