commit | 69908bf5526d29464a89b562c4685de86d1e5550 | [log] [tgz] |
---|---|---|
author | Paul Semel <paulsemel@chromium.org> | Fri May 26 09:00:47 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 26 09:00:47 2023 |
tree | c09dda43471a84a76c896b8423b3220ccecddc15 | |
parent | c9d0a32307a9577385c3f0369d12933e5b2f399b [diff] |
Fix leaked raw_ptr in DisplayInfoProvider This raw_ptr was seen as leaked by recent improvements in detecting leaked raw_ptr. This is mostly due to the fact DisplayInfoProvider is a global variable. However, there is no need in keeping a ptr to the default screen when none is provided. Bug: 1291138 Change-Id: I57d7349fdf3a24c520115175aa84347fff14f125 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4556330 Reviewed-by: Reilly Grant <reillyg@chromium.org> Commit-Queue: Paul Semel <paulsemel@chromium.org> Cr-Commit-Position: refs/heads/main@{#1149615}
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.