commit | f62eea3a07075b3d00b45871c46b284f88f827d8 | [log] [tgz] |
---|---|---|
author | Lily Chen <chlily@chromium.org> | Thu Aug 24 02:05:28 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 24 02:05:28 2023 |
tree | 776aee93eb8e6febe4b50d51062127aba3de22e6 | |
parent | 8c0314683af50a42ddee47c2405f1041c5a328ce [diff] |
[DownloadBubble] Clear model when download is deleted This nulls out the DownloadUIModel member of DownloadBubbleRowView when the backing download is destroyed. This is to avoid calling into a deleted DownloadItem and causing a crash. The specific crash is due to the RepeatingTimer callbacks, but this adds null checks everywhere the model is expected to be non-null. Bug: 1470681 Change-Id: Ic3af736f984065f07a03aebb66040f7cad2c980d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4807031 Reviewed-by: Xinghui Lu <xinghuilu@chromium.org> Commit-Queue: Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/main@{#1187622}
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.