mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Flush layout after executing timers.
This commit is contained in:
parent
80764f65e3
commit
cbed5da9fa
1 changed files with 1 additions and 0 deletions
|
@ -382,6 +382,7 @@ impl<'a> WindowHelpers for JSRef<'a, Window> {
|
|||
fn handle_fire_timer(self, timer_id: TimerId, cx: *mut JSContext) {
|
||||
let this_value = self.reflector().get_jsobject();
|
||||
self.timers.fire_timer(timer_id, this_value, cx);
|
||||
self.flush_layout();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue