aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/client.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-11-22 15:57:55 +0100
committerGitHub <noreply@github.com>2024-11-22 14:57:55 +0000
commita3c24713443767992ecf6763a4999721781ddcaa (patch)
tree3830c843f8ab225c60a61cc70f5fac3341f14b32 /components/script/dom/client.rs
parent3a32af0c852fc14571a59b0ef2d3820317fed4ab (diff)
downloadservo-a3c24713443767992ecf6763a4999721781ddcaa.tar.gz
servo-a3c24713443767992ecf6763a4999721781ddcaa.zip
Fork Stylo's `malloc_size_of` into Servo (#34332)
This is unfortuante, but it's the only way to stop making Stylo's `malloc_size_of` depend on so many of Servo's dependencies. This is an important step on the way toward releasing Stylo as standalone software. When possible, we defer to the implementation of `MallocSizeOf` that is in the base class. One benefit of this change is that we start properly measure the size of WebRender types, which before were always set to zero. In addition the `Measurable` class is removed in favor of simply manually implementing `MallocSizeOf`, which doesn't require uncomfortably modifying the shape of data structures. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/script/dom/client.rs')
0 files changed, 0 insertions, 0 deletions