mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Use Traceable for primitive types and DOMString
This commit is contained in:
parent
dae6ad409d
commit
ee56b45a8c
5 changed files with 31 additions and 31 deletions
|
@ -75,7 +75,7 @@ pub struct Window {
|
|||
pub navigator: Cell<Option<JS<Navigator>>>,
|
||||
pub image_cache_task: ImageCacheTask,
|
||||
pub active_timers: Traceable<RefCell<HashMap<TimerId, TimerHandle>>>,
|
||||
pub next_timer_handle: Untraceable<Cell<i32>>,
|
||||
pub next_timer_handle: Traceable<Cell<i32>>,
|
||||
pub compositor: Untraceable<Box<ScriptListener>>,
|
||||
pub browser_context: Traceable<RefCell<Option<BrowserContext>>>,
|
||||
pub page: Rc<Page>,
|
||||
|
@ -399,7 +399,7 @@ impl Window {
|
|||
navigator: Cell::new(None),
|
||||
image_cache_task: image_cache_task,
|
||||
active_timers: Traceable::new(RefCell::new(HashMap::new())),
|
||||
next_timer_handle: Untraceable::new(Cell::new(0)),
|
||||
next_timer_handle: Traceable::new(Cell::new(0)),
|
||||
browser_context: Traceable::new(RefCell::new(None)),
|
||||
performance: Cell::new(None),
|
||||
navigationStart: time::get_time().sec as u64,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue