mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #14569 - servo:ROOTED_TRACEABLES-Rc, r=emilio
Remove the Rc from ROOTED_TRACEABLES. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14569) <!-- Reviewable:end -->
This commit is contained in:
commit
030cf90c57
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