commit | 0f94fb87ec5702f0f11059af271037d870669b83 | [log] [tgz] |
---|---|---|
author | Rohit Rao <rohitrao@chromium.org> | Wed Sep 08 19:52:36 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 08 19:52:36 2021 |
tree | 01b63a181904854026ba6800966359b048dd1a5d | |
parent | 2452f4b92fbd4c9e5fce02ddd01324550060f786 [diff] |
Fixes a DCHECK in BrowserViewWranglerTest.TestBrowserList. SceneState stores a weak pointer to its UIWindowScene, which is usually owned by the OS. When compiling for Release-iphonesimulator, the FakeScene used in tests is dealloced before the test completes, triggering a DCHECK() in -[SceneState sceneSessionID]. This CL makes the test fixture responsible for owning the FakeScene, ensuring that it survives throughout the test run. BUG=None Change-Id: I43f9593dba9da2068cee88add797ab6c45f36ab7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3149273 Reviewed-by: Mark Cogan <marq@chromium.org> Commit-Queue: Rohit Rao <rohitrao@chromium.org> Cr-Commit-Position: refs/heads/main@{#919398}
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.