commit | dead3e2c9bc3ccde9de3241188f55804fd5f2a13 | [log] [tgz] |
---|---|---|
author | Nikolaos Papaspyrou <nikolaos@chromium.org> | Thu Nov 09 10:26:08 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 09 10:26:08 2023 |
tree | 20c6618ff3e69a911f91994a64e7638abaee784d | |
parent | dbd08658c87b30e9d669b72ed3c2da7419a00a5f [diff] |
Deprecate vector<v8::Local>, part 10 According to V8's public API documentation, local handles (i.e., objects of type v8::Local<T>) "should never be allocated on the heap". This disallows heap-allocated data structures containing instances of v8::Local, like std::vector<v8::Local<v8::String>>. It is unfortunate that the V8 API itself requires the usage of such data structures. This CL continues the deprecation of such data structures. It refactors WindowProxyManager::GlobalProxyVector to contain a v8::LocalVector. Bug: chromium:1454114 Change-Id: I23b0ec7259e35cf206f9c5587e03cf3852c8f9aa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4994664 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/main@{#1222171}
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.