mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Drop the pointless indirection in Window::active_timers.
This commit is contained in:
parent
b036bee532
commit
ab5bf80447
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ pub struct Window {
|
|||
pub location: Option<JS<Location>>,
|
||||
pub navigator: Option<JS<Navigator>>,
|
||||
pub image_cache_task: ImageCacheTask,
|
||||
pub active_timers: ~HashMap<TimerId, TimerHandle>,
|
||||
pub active_timers: HashMap<TimerId, TimerHandle>,
|
||||
pub next_timer_handle: i32,
|
||||
pub compositor: Untraceable<~ScriptListener>,
|
||||
pub browser_context: Option<BrowserContext>,
|
||||
|
@ -380,7 +380,7 @@ impl Window {
|
|||
location: None,
|
||||
navigator: None,
|
||||
image_cache_task: image_cache_task,
|
||||
active_timers: ~HashMap::new(),
|
||||
active_timers: HashMap::new(),
|
||||
next_timer_handle: 0,
|
||||
browser_context: None,
|
||||
performance: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue