commit | 94792f8f67d7747cda99162111e94c27e3b13e22 | [log] [tgz] |
---|---|---|
author | Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> | Thu Jun 08 17:45:56 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 08 17:45:56 2023 |
tree | 63b355eacd0bf959576a03c5d51fe2848ab94a2e | |
parent | 146ae0c13de89eceb69081778413e90b56907911 [diff] |
sensors: Reset sensor state on context destruction. Sensor::ContextDestroyed() did not reset |state_|, which could lead to a crash in SensorProxyImpl::RemoveActiveFrequency() if Sensor::stop() ended up being invoked later (e.g. via a reference to an object created in an iframe). Fixed: 1453186 Change-Id: I14d58f012af300631f43494b2d8a75fc0ca52562 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4595840 Auto-Submit: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com> Commit-Queue: Raphael Kubo Da Costa <raphael.kubo.da.costa@intel.com> Reviewed-by: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/main@{#1154979}
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.