diff options
-rw-r--r-- | components/script/dom/bindings/trace.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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<RefCell<RootedTraceableSet>> = - Rc::new(RefCell::new(RootedTraceableSet::new())); + static ROOTED_TRACEABLES: RefCell<RootedTraceableSet> = + RefCell::new(RootedTraceableSet::new()); ); impl RootedTraceableSet { |