commit | ab9c20ec415b5dc7efeff5ed5340a019bd748421 | [log] [tgz] |
---|---|---|
author | Vikram Pasupathy <vpasupathy@chromium.org> | Thu Feb 01 19:47:51 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 01 19:47:51 2024 |
tree | 54882b5f8ce0a33945e116b7791445bcc1d56c1c | |
parent | 5c4ac6e123bef28a1aced12870da41b96f93a2e3 [diff] |
media: Prevent dangling raw pointer in Video Frame Setting shm_region_ to nullptr prevents the shared memory from dangling since the raw pointer would be left hanging otherwise. Bug: <none> Change-Id: I3e4a0344919cb18fe1f0ffff6df01f077eeecd01 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5206437 Commit-Queue: Vikram Pasupathy <vpasupathy@chromium.org> Reviewed-by: Xiaohan Wang <xhwang@chromium.org> Reviewed-by: Ćukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/main@{#1255216}
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.