diff --git a/components/script/dom/bindings/trace.rs b/components/script/dom/bindings/trace.rs index 50307275cd7..ad8dc6b935e 100644 --- a/components/script/dom/bindings/trace.rs +++ b/components/script/dom/bindings/trace.rs @@ -574,8 +574,8 @@ pub struct RootedTraceableSet { thread_local!( /// TLV Holds a set of JSTraceables that need to be rooted - static ROOTED_TRACEABLES: Rc> = - Rc::new(RefCell::new(RootedTraceableSet::new())); + static ROOTED_TRACEABLES: RefCell = + RefCell::new(RootedTraceableSet::new()); ); impl RootedTraceableSet {