mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +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!(
|
thread_local!(
|
||||||
/// TLV Holds a set of JSTraceables that need to be rooted
|
/// TLV Holds a set of JSTraceables that need to be rooted
|
||||||
static ROOTED_TRACEABLES: Rc<RefCell<RootedTraceableSet>> =
|
static ROOTED_TRACEABLES: RefCell<RootedTraceableSet> =
|
||||||
Rc::new(RefCell::new(RootedTraceableSet::new()));
|
RefCell::new(RootedTraceableSet::new());
|
||||||
);
|
);
|
||||||
|
|
||||||
impl RootedTraceableSet {
|
impl RootedTraceableSet {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue