commit | 471bc75b96b552b0ce8ccdb3afea7290a1a95a73 | [log] [tgz] |
---|---|---|
author | Sylvain Defresne <sdefresne@chromium.org> | Mon May 12 09:45:27 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 12 09:45:27 2025 |
tree | 39c2ff34c06695c93107843988269b3ea83cb538 | |
parent | c70e505299105f41ac0eca558bd0b0065fec5ed7 [diff] |
[ios] Clear FakeWebState's UserData at the end of the destructor As done in WebStateImpl, destroy all UserData at the end of the destructor, ensuring that the vtable is still valid when those objects are destroyed and thus it is safe to call method on the WebState in the UserData's destructor. This is a followup to https://crrev.com/c/6439012. Bug: 409299519 Change-Id: Ib9da2402b38c58be22dff7dc04ed9c91911f7d79 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6519712 Auto-Submit: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: Mark Cogan <marq@chromium.org> Commit-Queue: Mark Cogan <marq@chromium.org> Cr-Commit-Position: refs/heads/main@{#1458735}
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.