From 5462afaa8f53492261e34bb113486ce43bb41c5d Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 6 Nov 2015 23:17:00 +0100 Subject: [PATCH] Remove the unsafe Sync implementation for SharedLayoutContext. --- components/layout/context.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/layout/context.rs b/components/layout/context.rs index 3d5196fac84..f6058eaaf44 100644 --- a/components/layout/context.rs +++ b/components/layout/context.rs @@ -126,11 +126,6 @@ pub struct SharedLayoutContext { pub goal: ReflowGoal, } -// FIXME(#6569) This implementations is unsound: -// XXX UNSOUND!!! for image_cache_task -#[allow(unsafe_code)] -unsafe impl Sync for SharedLayoutContext {} - pub struct LayoutContext<'a> { pub shared: &'a SharedLayoutContext, cached_local_layout_context: Rc,