commit | 6f37b0d8c5ecd3687d3900c8a1343b28ef0f4ad9 | [log] [tgz] |
---|---|---|
author | Mason Freed <masonf@chromium.org> | Mon Jun 17 20:52:51 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 17 20:52:51 2024 |
tree | a3de90e889cc5ccd4115ed5405c1b5efbb26efe9 | |
parent | 7cecd1c1da4662f50884fc742ba81d58357fa99a [diff] |
Streamline part cloning for the DOMPartsAPIMinimal case This CL optimizes part cloning and a few other things, for the case where DOMPartsAPIMinimal is enabled. In particular, it inlines the cloning of Parts, which are now just a single bit on the Node, and avoids extra calls to CloneParts. It also inlines the feature flag check into the NodeCloningData bits, to avoid having to re-check. Lastly, this CL makes the Vectors of Nodes and Parts have a fixed 20 slots, since they're temporary anyway, and space is not a concern. Bug: 40271855 Change-Id: Idec7729b2e18e3a1bef28963e29f2ba08f256040 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5619195 Auto-Submit: Mason Freed <masonf@chromium.org> Reviewed-by: David Baron <dbaron@chromium.org> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/main@{#1316061}
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.