aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r--components/script/dom/window.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index c25c826b4ec..8aaa0adcde3 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -1074,9 +1074,9 @@ impl Window {
}
/// Advances the layout animation clock by `delta` milliseconds, and then
- /// forces a reflow.
- pub fn advance_animation_clock(&self, delta: i32) {
- self.layout_chan.send(Msg::AdvanceClockMs(delta)).unwrap();
+ /// forces a reflow if `tick` is true.
+ pub fn advance_animation_clock(&self, delta: i32, tick: bool) {
+ self.layout_chan.send(Msg::AdvanceClockMs(delta, tick)).unwrap();
}
/// Reflows the page unconditionally if possible and not suppressed. This