diff options
author | Oriol Brufau <obrufau@igalia.com> | 2024-11-11 17:26:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-11 16:26:20 +0000 |
commit | 6a62d52cbb0385276de617c956a0e1d880469bc9 (patch) | |
tree | 5607dcf2167f3a729a6a42c44b88700e9ec8c02b /components/script/dom/identityhub.rs | |
parent | 5423e622ed283dfdde832c18479a3d6b95c8cf69 (diff) | |
download | servo-6a62d52cbb0385276de617c956a0e1d880469bc9.tar.gz servo-6a62d52cbb0385276de617c956a0e1d880469bc9.zip |
Use LazyCells instead of callbacks when resolving size keywords (#34211)
In most cases we already had a LazyCell anyways, since we could need the
value for multiple properties. Instead of passing a callback that forces
the evaluation of the LazyCell, it's simpler to just pass the LazyCell
directly.
Also, this way we no longer need mutable references.
Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/script/dom/identityhub.rs')
0 files changed, 0 insertions, 0 deletions