aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
authorMukilan Thiyagarajan <mukilanthiagarajan@gmail.com>2014-11-08 21:03:59 +0530
committerMukilan Thiyagarajan <mukilanthiagarajan@gmail.com>2014-11-15 18:32:12 +0530
commit4b2b0d072378aa1b66bf2383e7c64a732ab854c8 (patch)
treed60b61c4c7f3064787becf6e5548649462a8e7e4 /components/script/script_task.rs
parent05bd182538a9358b2f6cee8d41696e1fd516c3d6 (diff)
downloadservo-4b2b0d072378aa1b66bf2383e7c64a732ab854c8.tar.gz
servo-4b2b0d072378aa1b66bf2383e7c64a732ab854c8.zip
Allow passing arguments to setTimeout/setInterval callbacks
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index c407795bd63..4ab55968237 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -665,7 +665,7 @@ impl ScriptTask {
pipeline ID not associated with this script task. This is a bug.");
let frame = page.frame();
let window = frame.as_ref().unwrap().window.root();
- window.handle_fire_timer(timer_id, self.get_cx());
+ window.handle_fire_timer(timer_id);
}
/// Handles a notification that reflow completed.