diff options
Diffstat (limited to 'components/script_bindings/trace.rs')
-rw-r--r-- | components/script_bindings/trace.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_bindings/trace.rs b/components/script_bindings/trace.rs index 889e8b73709..04819803d33 100644 --- a/components/script_bindings/trace.rs +++ b/components/script_bindings/trace.rs @@ -16,7 +16,7 @@ use crate::str::{DOMString, USVString}; #[cfg_attr(crown, allow(crown::unrooted_must_root))] pub unsafe fn trace_reflector(tracer: *mut JSTracer, description: &str, reflector: &Reflector) { trace!("tracing reflector {}", description); - trace_object(tracer, description, reflector.rootable()) + unsafe { trace_object(tracer, description, reflector.rootable()) } } /// Trace a `JSObject`. |