aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/rule_tree/unsafe_box.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make the rule tree actually threadsafeAnthony Ramine2020-04-201-0/+10
| | | | | | RuleTree::gc is now a safe method that any thread can call at any time, and StrongRuleNode values can all be dropped whenever their owner want to, on any thread.
* Introduce a new type UnsafeBox<T> in the rule treeAnthony Ramine2020-04-171-0/+64
This lets us rely less on raw pointers, thus better tracking the lifetime of the rule node values while dropping strong references etc.