aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-01-09 07:15:52 -0700
committerbors-servo <metajack+bors@gmail.com>2015-01-09 07:15:52 -0700
commitf74d5360ba30ec7aaa12f675eb267fd11053d8a8 (patch)
treed94e48c808c752a66809f3c1cf504ce89e8a6592 /components/script/timers.rs
parentc338dbe947660c1647fa8c2eb4f2f57b0c4fadc3 (diff)
parentedc1d892517e90d95b566c17acc7a3df63e24790 (diff)
downloadservo-f74d5360ba30ec7aaa12f675eb267fd11053d8a8.tar.gz
servo-f74d5360ba30ec7aaa12f675eb267fd11053d8a8.zip
auto merge of #4584 : Ms2ger/servo/unsafe, r=jdm
As a first start, this allows them indiscriminately where used.
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r--components/script/timers.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs
index f453c7677c3..c9a5495b30d 100644
--- a/components/script/timers.rs
+++ b/components/script/timers.rs
@@ -105,6 +105,7 @@ impl TimerManager {
}
}
+ #[allow(unsafe_blocks)]
pub fn set_timeout_or_interval(&self,
callback: TimerCallback,
arguments: Vec<JSVal>,