commit | ec44136ec0f8c0d3a578840f2c124de9cfc6447d | [log] [tgz] |
---|---|---|
author | Anton Bikineev <bikineev@chromium.org> | Tue Oct 31 16:04:07 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 31 16:04:07 2023 |
tree | 4a5272d726fafe15b3b3e7fd4fa60a12bac6fdc0 | |
parent | 448f754c868f7d8fd54dc0130b6b86b97da47541 [diff] |
WTF: Add projection parameter into Vector/HeapVector. The CL adds ctors to WTF::Vector that accepts a projection parameter (same as the projections used in C++20's range-algorithms). The parameter is handy when converting one range into another range or applying a transformation on copying. This can be seen as a syntactic sugar for WTF::Vector. However, for HeapVector this changes (non-observable) semantics in that it avoids executing write-barriers (due to initializing stores). This is a prerequisite for oilpanizing InterpolableValue. Bug: 1496756 Change-Id: I52fd6f2464907f1c7e6a2cc3949426cea132d0b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4994805 Commit-Queue: Anton Bikineev <bikineev@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/main@{#1217625}
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.