commit | 920cb685a33d04c53dccd4d4be0559482926cf19 | [log] [tgz] |
---|---|---|
author | Ana Salazar <anasalazar@chromium.org> | Thu Jul 11 20:09:22 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 11 20:09:22 2024 |
tree | 68c660db49aecf84bb466a0788329977f9105667 | |
parent | ee8983e18c887514372b9ac4fdee90883b28e10d [diff] |
Prevent pulsing block animation hanging after screen rotation In tablet mode, for performing a screen rotation the animations are set to be ZERO_DURATION. In the case for animations that loop, such as the PulsingBlocks, this can lead to the animation hanging indefinitely and eventually crashing. To deal with this edge case, if a delay timer is fired and there is a duration multiplier for ZERO, restart the timer to attempt to schedule the animation again. Bug: b:345364450 Change-Id: Ic03d96e870d6aee07f1969a8c7aaa4f0ded6617e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5690067 Commit-Queue: Ana Salazar <anasalazar@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Toni Barzic <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/main@{#1326336}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.