commit | cfa88be819a034daf2e85d3faad61633d40a28a2 | [log] [tgz] |
---|---|---|
author | adamta <adamta@google.com> | Wed Oct 23 01:46:24 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 23 01:46:24 2024 |
tree | 1f3d8739abe8d16682d7a1751e8f805cc70ecaea | |
parent | de7ddfd4b8b2edda394e96432446697849dda9f0 [diff] |
[iOS] Prevent NTP scroll events after stop All instances of the crash are due to the overscroll actions controller triggering an NTP scroll event in response to it being stopped. Once the NTP is stopped, it is no longer ready to handle scroll events, thus causing the crash. This CL checks if the view controllers array is still populated, which is an indicator of the NTP being stopped, and returns early on scroll events if needed. Fixed: 40848296 Change-Id: Ib6e4cec142e7f99bdaeda9e8105fb200abf3732b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5954783 Reviewed-by: Chris Lu <thegreenfrog@chromium.org> Commit-Queue: Chris Lu <thegreenfrog@chromium.org> Auto-Submit: Adam Arcaro <adamta@google.com> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1372456}
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.