mirror of
https://github.com/servo/servo.git
synced 2025-06-16 20:34:30 +00:00
Remove JSTraceable implementation from RefCell.
The implementation wasn't really right, and we would rather just use DOMRefCell anyway.
This commit is contained in:
parent
db1163b1ec
commit
df7fb8fa32
11 changed files with 43 additions and 66 deletions
|
@ -414,7 +414,7 @@ pub struct ScriptTask {
|
|||
mouse_over_targets: DOMRefCell<Vec<JS<Element>>>,
|
||||
|
||||
/// List of pipelines that have been owned and closed by this script task.
|
||||
closed_pipelines: RefCell<HashSet<PipelineId>>,
|
||||
closed_pipelines: DOMRefCell<HashSet<PipelineId>>,
|
||||
|
||||
scheduler_chan: Sender<TimerEventRequest>,
|
||||
timer_event_chan: Sender<TimerEvent>,
|
||||
|
@ -643,7 +643,7 @@ impl ScriptTask {
|
|||
|
||||
js_runtime: Rc::new(runtime),
|
||||
mouse_over_targets: DOMRefCell::new(vec!()),
|
||||
closed_pipelines: RefCell::new(HashSet::new()),
|
||||
closed_pipelines: DOMRefCell::new(HashSet::new()),
|
||||
|
||||
scheduler_chan: state.scheduler_chan,
|
||||
timer_event_chan: timer_event_chan,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue