commit | 235eb82490711b4c20e9c95aed9c76c91ea273cd | [log] [tgz] |
---|---|---|
author | Andrew Xu <andrewxu@chromium.org> | Wed Mar 16 21:56:50 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 16 21:56:50 2022 |
tree | 525b2d33270b365d53d59ae50114601653911b7c | |
parent | 6aafc063c8b66f71b256202a15e316acc7c2c3e0 [diff] |
[Launcher Sort] Fix potential data races on closures Now in `AppListBubbleAppsPage` and `AppsContainerView`, `update_position_closure_` is injected before triggering the fade out animation. Meanwhile, triggering the fade out animation should abort the old running animation. If the animation abortion uses the closures, which is not the case right now, it is the new closure rather than the old ones to be used. This CL fixes such an issue by: abort the old reorder process if any before injecting the new closure. Bug: 1305378 Change-Id: I71d66aa3f543c9cf25143e9431035031dc5c12ef Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3530691 Reviewed-by: Toni Barzic <tbarzic@chromium.org> Commit-Queue: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/main@{#981876}
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.