aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r--components/script/timers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs
index 50f95d8400a..202a8edc8ae 100644
--- a/components/script/timers.rs
+++ b/components/script/timers.rs
@@ -241,7 +241,7 @@ impl OneshotTimers {
}
pub fn resume(&self) {
- // Suspend is idempotent: do nothing if the timers are already suspended.
+ // Resume is idempotent: do nothing if the timers are already resumed.
let additional_offset = match self.suspended_since.get() {
Some(suspended_since) => precise_time_ms() - suspended_since,
None => return warn!("Resuming an already resumed timer."),