diff --git a/src/components/script/dom/window.rs b/src/components/script/dom/window.rs index ab51a5f457c..7e366492719 100644 --- a/src/components/script/dom/window.rs +++ b/src/components/script/dom/window.rs @@ -70,7 +70,7 @@ pub struct Window { pub location: Option>, pub navigator: Option>, pub image_cache_task: ImageCacheTask, - pub active_timers: ~HashMap, + pub active_timers: HashMap, pub next_timer_handle: i32, pub compositor: Untraceable<~ScriptListener>, pub browser_context: Option, @@ -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,