commit | 51b7bcd8137899818bca72ac4f14e64a282221ce | [log] [tgz] |
---|---|---|
author | Asami Doi <[email protected]> | Fri Jun 27 13:52:15 2025 |
committer | Chromium LUCI CQ <[email protected]> | Fri Jun 27 13:52:15 2025 |
tree | 73192c9acadae8002c2001185a1a9225ce731c02 | |
parent | cfcf9742d529f477110711f789a97b57c8667a94 [diff] |
[ios] Fix a dangling pointer in UrlLoadingBrowserAgent `hint` can be a dangling pointer. `optional<>` only checks if `hint` was initialized to an active WebState but it doesn't guarantee the pointer is still alive. Pass the copied value of a WebStateID instead of passing a pointer to a WebState to `LoadUrlInNewTabImpl()`. Fixed: 405398352 Change-Id: I5622fc99ce438f88712ae09945c8ef29f3443b72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6678401 Reviewed-by: Sylvain Defresne <[email protected]> Commit-Queue: Asami Doi <[email protected]> Cr-Commit-Position: refs/heads/main@{#1479785}
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.