diff options
author | Oriol Brufau <obrufau@igalia.com> | 2024-12-12 16:39:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-12 15:39:51 +0000 |
commit | f7e2ec3a0f2a389ecca1019f09f8b99b7e65ff38 (patch) | |
tree | 4aa0f5aef020d4fae27cfddeb4b8f123034ff14d /python/servo/platform/base.py | |
parent | 874e106924104c5164d5b7ead002f38f474b5116 (diff) | |
download | servo-f7e2ec3a0f2a389ecca1019f09f8b99b7e65ff38.tar.gz servo-f7e2ec3a0f2a389ecca1019f09f8b99b7e65ff38.zip |
Distinguish cached `inline_content_sizes()` from uncached ones (#34595)
Several structs and enums had a `inline_content_sizes()` method, but it
wasn't clear which ones would try to cache the result, and which ones
would always compute it.
Therefore, this performs some clarifying renaming:
- Cached ones stay as `inline_content_sizes()`
- Uncached ones become `compute_inline_content_sizes()`
Also, to simplify calls to `LayoutBoxBase::inline_content_sizes()`,
`compute_inline_content_sizes()` is moved into a new trait.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'python/servo/platform/base.py')
0 files changed, 0 insertions, 0 deletions