commit | c73e035a1528a80f9036e96829c09f95a0e15ef9 | [log] [tgz] |
---|---|---|
author | Klaus Weidner <klausw@chromium.org> | Thu Jun 30 21:25:35 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 30 21:25:35 2022 |
tree | b683dded60cd7714254bee70675d83a930334877 | |
parent | 0eb607903e2b273322c928cf9bbf7cbf2a2ff174 [diff] |
Refactor frame tracker to SequenceBound Instead of having both WebContentsFrameTracker and WebContentsVideoCaptureDevice reference each other via WeakPtrs, use a SequenceBound<WebContentsFrameTracker> owned by WebContentsVideoCaptureDevice instead. This requires moving construction of the WebContentsFrameTracker off of the Device thread and onto the UI thread, where all of its methods had previously expected to be run. Also add sequence checkers to both classes to help enforce consistent usage. Bug: 1338591 Change-Id: I94b48a1c3afe21e0cbcaad9be9cce7583900d3a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3724180 Reviewed-by: Alexander Cooper <alcooper@chromium.org> Reviewed-by: Will Cassella <cassew@chromium.org> Commit-Queue: Klaus Weidner <klausw@chromium.org> Reviewed-by: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/main@{#1019831}
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.