mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove the Rc from ROOTED_TRACEABLES.
It does not appear to be necessary.
This commit is contained in:
parent
a15d279e9f
commit
061350ed7d
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue