diff options
-rw-r--r-- | components/layout/context.rs | 3 | ||||
-rw-r--r-- | components/layout/layout_debug.rs | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/components/layout/context.rs b/components/layout/context.rs index e2d1fa7831c..1cbee049f02 100644 --- a/components/layout/context.rs +++ b/components/layout/context.rs @@ -4,9 +4,6 @@ //! Data needed by the layout thread. -// for thread_local -#![allow(unsafe_code)] - use fnv::FnvHasher; use gfx::display_list::WebRenderImageInfo; use gfx::font_cache_thread::FontCacheThread; diff --git a/components/layout/layout_debug.rs b/components/layout/layout_debug.rs index 3a8a1171287..9b67077add0 100644 --- a/components/layout/layout_debug.rs +++ b/components/layout/layout_debug.rs @@ -5,9 +5,6 @@ //! Supports writing a trace file created during each layout scope //! that can be viewed by an external tool to make layout debugging easier. -// for thread_local -#![allow(unsafe_code)] - use flow; use flow_ref::FlowRef; use serde_json::{to_string, to_value, Value}; |