commit | 0f9be98fad86541fcfcc20b135aff707fc9d23b5 | [log] [tgz] |
---|---|---|
author | Rohit Bhatia <bhatiarohit@google.com> | Tue Jun 14 02:24:17 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 14 02:24:17 2022 |
tree | c71e8fd9140af6375b52967210de0a00feaebecb | |
parent | 31617b55879e8e9f481cb13df31fb993070176b7 [diff] |
[M103][DownloadBubble] Quickly delete DownloadUIModelPtr when possible DownloadUIModel are destroyed on TaskRunner. This may lead to delayed destruction, which can be a cause of OOM errors. For use cases where DownloadUIModel is needed for only a small duration, and lifetime concerns are not a problem, use unique_ptr with default deleter. Bug: 1315554 Change-Id: Id058a7b927cf604b2a79ef12b8e2402f0a571fe6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3696318 Reviewed-by: Min Qin <qinmin@chromium.org> Commit-Queue: Rohit Bhatia <bhatiarohit@google.com> Cr-Original-Commit-Position: refs/heads/main@{#1012689} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3703178 Reviewed-by: Xinghui Lu <xinghuilu@chromium.org> Cr-Commit-Position: refs/branch-heads/5060@{#810} Cr-Branched-From: b83393d0f4038aeaf67f970a024d8101df7348d1-refs/heads/main@{#1002911}
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.