diff options
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r-- | components/script/script_runtime.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs index 1558e0fffb7..d10b95a068e 100644 --- a/components/script/script_runtime.rs +++ b/components/script/script_runtime.rs @@ -687,7 +687,9 @@ unsafe extern "C" fn debug_gc_callback( } } -thread_local!(static THREAD_ACTIVE: Cell<bool> = Cell::new(true);); +thread_local!( + static THREAD_ACTIVE: Cell<bool> = Cell::new(true); +); #[allow(unsafe_code)] unsafe extern "C" fn trace_rust_roots(tr: *mut JSTracer, _data: *mut os::raw::c_void) { |