commit | fbbd590690669e15f19333b83e32ef3eebdb3ee9 | [log] [tgz] |
---|---|---|
author | Peter Kasting <pkasting@chromium.org> | Thu Oct 17 15:18:06 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 17 15:18:06 2024 |
tree | ec3cdfe30c44c043e5eb195ecd485ff71a1216dc | |
parent | 32e7fb6015eb623ab9bdeb3c06af6e4445256ecf [diff] |
Copy sk_sps in saveLayerFilters() instead of potentially consuming. The overhead of copying an sk_sp versus moving it is trivial -- it's a shared pointer. But copying lets us pass span<const T>, which allows us to place stronger lifetime restrictions on the span constructors in the future (writeable spans don't really make much sense for rvalue inputs, so we want to disallow). Bug: 364987728 Change-Id: I25587d1e2f5b2cba7e011e98b33eeb382f73603f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5938528 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/main@{#1370024}
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.