commit | a251d44b6461affd2169951531a7d9aa96065cea | [log] [tgz] |
---|---|---|
author | Anatoliy Potapchuk <apotapchuk@chromium.org> | Tue Jun 08 15:13:40 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 08 15:13:40 2021 |
tree | c592f240799cf12cf364998f6efa5017a922b9a3 | |
parent | 42b90edcfe4c7e465f046ff8f8a796c1e535c840 [diff] |
Do not call mojo bindings in NavigatorManagedData if the context is destroyed Previously, we were tryign to call GetService() even when the execution context was destroyed, leading to nullptr dereference when calling GetExecutionContext(). This CL fixes this by checking whether we are not being destroyed. Bug: 1214448 Change-Id: I1183db3c04e7ab67ef9b3a18a5c179bae502ac6d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2947010 Commit-Queue: Anatoliy Potapchuk <apotapchuk@chromium.org> Reviewed-by: Anqing Zhao <anqing@chromium.org> Cr-Commit-Position: refs/heads/master@{#890252}
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.