mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +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 location: Option<JS<Location>>,
|
||||||
pub navigator: Option<JS<Navigator>>,
|
pub navigator: Option<JS<Navigator>>,
|
||||||
pub image_cache_task: ImageCacheTask,
|
pub image_cache_task: ImageCacheTask,
|
||||||
pub active_timers: ~HashMap<TimerId, TimerHandle>,
|
pub active_timers: HashMap<TimerId, TimerHandle>,
|
||||||
pub next_timer_handle: i32,
|
pub next_timer_handle: i32,
|
||||||
pub compositor: Untraceable<~ScriptListener>,
|
pub compositor: Untraceable<~ScriptListener>,
|
||||||
pub browser_context: Option<BrowserContext>,
|
pub browser_context: Option<BrowserContext>,
|
||||||
|
@ -380,7 +380,7 @@ impl Window {
|
||||||
location: None,
|
location: None,
|
||||||
navigator: None,
|
navigator: None,
|
||||||
image_cache_task: image_cache_task,
|
image_cache_task: image_cache_task,
|
||||||
active_timers: ~HashMap::new(),
|
active_timers: HashMap::new(),
|
||||||
next_timer_handle: 0,
|
next_timer_handle: 0,
|
||||||
browser_context: None,
|
browser_context: None,
|
||||||
performance: None,
|
performance: None,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue