commit | 277f32ce1675520409bca630777762b503f0af67 | [log] [tgz] |
---|---|---|
author | Christopher Cameron <ccameron@chromium.org> | Thu Jun 09 01:00:55 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 09 01:00:55 2022 |
tree | 0336a2c94c3c1212bd14fc1af2f5cce05f5c30e6 | |
parent | ca5e96b2f9bf8f5e1c952ffd0133c716cd2ee7bf [diff] |
CARendererLayerTree: Allow using pointers to address layers We will want to be able to address ClipAndSortingLayer, TransformLayer, and ContentLayer by pointer, so change them from being stored in a vector (which can reallocate internally) to a list (which won't). Remove the move constructors, because they are explicitly not to work anymore. Add pointers to parent layers to allow traversal. Use these pointers, and the tree pointer, instead of passing parameters during commit. Change-Id: I79b099c023da25f58a388c3a48359ec662d1c2ab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3695619 Reviewed-by: Maggie Chen <magchen@chromium.org> Commit-Queue: ccameron chromium <ccameron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1012259}
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.