aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_debug.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/layout_debug.rs')
-rw-r--r--components/layout/layout_debug.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/layout/layout_debug.rs b/components/layout/layout_debug.rs
index dc1ac1db946..90b5870e468 100644
--- a/components/layout/layout_debug.rs
+++ b/components/layout/layout_debug.rs
@@ -5,6 +5,9 @@
//! 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 rustc_serialize::json;