diff options
Diffstat (limited to 'components/script_layout_interface/message.rs')
-rw-r--r-- | components/script_layout_interface/message.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs index b46703e778e..14580be4881 100644 --- a/components/script_layout_interface/message.rs +++ b/components/script_layout_interface/message.rs @@ -42,8 +42,9 @@ pub enum Msg { /// Updates layout's timer for animation testing from script. /// - /// The inner field is the number of *milliseconds* to advance. - AdvanceClockMs(i32), + /// The inner field is the number of *milliseconds* to advance, and the bool + /// field is whether animations should be force-ticked. + AdvanceClockMs(i32, bool), /// Requests that the layout thread reflow with a newly-loaded Web font. ReflowWithNewlyLoadedWebFont, |