commit | 42bfd9f86eea62dfc546d350bfc43985ee881255 | [log] [tgz] |
---|---|---|
author | Devon Loehr <dloehr@google.com> | Thu Dec 05 18:29:11 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 05 18:29:11 2024 |
tree | 3eb7a1969f16f7eaa310b3a1fdbe2cf9d983c8be | |
parent | 39aa04e9a055989a0d018e4e1720a527d910a29f [diff] |
Justify RAW_PTR_EXCLUSION for TranslateMediaSubtypeToPixelFormat The C++ reference member in TranslateMediaSubtypeToPixelFormat only ever points to constant global values which are statically allocated and never freed. Thus it cannot ever become a dangling pointer, so we don't need to replace it with a raw_ref. Since this struct is defined locally inside the function, it is very unlikely it will ever point to any other kind of memory. Bug: 346694406 Change-Id: I41dec57026b03cc3760e09d6af226a3ba56840c2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6074376 Commit-Queue: Devon Loehr <dloehr@google.com> Reviewed-by: Emircan Uysaler <emircan@chromium.org> Cr-Commit-Position: refs/heads/main@{#1392401}
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.