commit | 70f0f10d41ac3b5b1e69fd38a03b6e814efa18a8 | [log] [tgz] |
---|---|---|
author | Morten Stenshorne <mstensho@chromium.org> | Fri Jul 12 08:24:17 2024 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Jul 12 08:37:07 2024 |
tree | 95419d9f4e4a2630d1e2b066b36c0f3b5a41f613 | |
parent | eddc1bb90947cb8ab8a05c9db35c50c494a7ea9a [diff] |
Pass fragmentainer capacity to fragmentation util functions. The idea here is that the constraint space won't always know the correct amount of space available, if box decorations are to be cloned (yet to be landed). Although the fragment builder will know the size, the fragment builder isn't always available (e.g. with floats laid out from the inline layout algorithm) at every call site. And this is a good thing, since we sometimes want to consult the fragmentation machinery without any side-effects. No behavior changes intended. Bug: 40415661 Change-Id: Ieba4c34f14b3d519b9bdf73d725b0c6d87832e67 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5695070 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/main@{#1326620} NOKEYCHECK=True GitOrigin-RevId: 2097a70d9cdce8e43e6d3ebec9e0d15baca19ccb
The third_party directory contains sources from other projects.
For guidelines on adding a new package to the third_party directory can be found at //docs/adding_to_third_party.md