aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/timers.rs
diff options
context:
space:
mode:
authorpeterkort <p_kort@hotmail.com>2016-01-31 07:43:00 -0800
committerpeterkort <p_kort@hotmail.com>2016-01-31 07:43:00 -0800
commit9181a520995bbf014b0e165e188a0e6e675396ca (patch)
tree8e26583c54f07ad3b1f3ce1209555d8e721aade1 /components/script/timers.rs
parent46b3eb653579a40632f91497a3d48f1d7fbd40cc (diff)
downloadservo-9181a520995bbf014b0e165e188a0e6e675396ca.tar.gz
servo-9181a520995bbf014b0e165e188a0e6e675396ca.zip
resume fn should set suspended_since back to None
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 7f608f98f46..953a1abda78 100644
--- a/components/script/timers.rs
+++ b/components/script/timers.rs
@@ -359,6 +359,7 @@ impl ActiveTimers {
};
self.suspension_offset.set(self.suspension_offset.get() + additional_offset);
+ self.suspended_since.set(None);
self.schedule_timer_call();
}