commit | 2abfd805a3c7e0e2572ba4b746a454e4ae683314 | [log] [tgz] |
---|---|---|
author | Sergey Ulanov <sergeyu@chromium.org> | Mon May 16 21:29:50 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 16 21:29:50 2022 |
tree | 6b306067ff50d0f0163e2cb700161e2168888fa5 | |
parent | 64b6f0eab3e9a38e8edbf86c0d491a03aa7ef01e [diff] |
[Fuchsia] fix bogus DeviceChanged events VideoCaptureDeviceFactory Previously VideoCaptureDeviceFactory was generating DeviceChanged events whenever it finished fetching device list even if the list hasn't changed. That was problematic mainly when fuchsia.camera3.DeviceWatcher is not available (e.g. on the test bots). Fix the factory to emit the event only when the list has actually changed. Also added a unittest. Bug: 1325469 Change-Id: If398e4f45988b0c1b3c75b1a8467bc785e735c9d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3647917 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by: David Dorwin <ddorwin@chromium.org> Auto-Submit: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1003934}
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.