From ab5bf8044703630430da64a553aed21abb96432f Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Mon, 12 May 2014 17:15:35 +0200 Subject: [PATCH] Drop the pointless indirection in Window::active_timers. --- src/components/script/dom/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,