diff options
author | Paul Rouget <me@paulrouget.com> | 2019-12-16 16:48:18 +0100 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2019-12-16 16:50:36 +0100 |
commit | 016d9a62ab849d0114d8a25b6328f562f9e0b024 (patch) | |
tree | e921f589109acb28d4138084ca21d61645642cf4 /components/compositing/compositor_thread.rs | |
parent | b7aaff499501e0f1f0d411db5059f59e4828419d (diff) | |
download | servo-016d9a62ab849d0114d8a25b6328f562f9e0b024.tar.gz servo-016d9a62ab849d0114d8a25b6328f562f9e0b024.zip |
Do not wake up embedder on each animation tick
Diffstat (limited to 'components/compositing/compositor_thread.rs')
-rw-r--r-- | components/compositing/compositor_thread.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/compositing/compositor_thread.rs b/components/compositing/compositor_thread.rs index bdb35fa0db2..9ba7f53c22c 100644 --- a/components/compositing/compositor_thread.rs +++ b/components/compositing/compositor_thread.rs @@ -125,7 +125,9 @@ impl Debug for Msg { fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { match *self { Msg::ShutdownComplete => write!(f, "ShutdownComplete"), - Msg::ChangeRunningAnimationsState(..) => write!(f, "ChangeRunningAnimationsState"), + Msg::ChangeRunningAnimationsState(_, state) => { + write!(f, "ChangeRunningAnimationsState({:?})", state) + }, Msg::SetFrameTree(..) => write!(f, "SetFrameTree"), Msg::Recomposite(..) => write!(f, "Recomposite"), Msg::TouchEventProcessed(..) => write!(f, "TouchEventProcessed"), |