Skip to content

Commit

Permalink
Flush layout after executing timers.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm authored and kmcallister committed Nov 4, 2014
1 parent 25fa4eb commit e85886c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/script/dom/window.rs
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit e85886c

Please sign in to comment.