aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/documentorshadowroot.rs
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2025-03-19 09:53:26 +0100
committerGitHub <noreply@github.com>2025-03-19 08:53:26 +0000
commit4acaa08cf508ae42a7bd37e15047a14d17bb6d63 (patch)
tree0bd11228af8a953a0450879de0f60d5951660ade /components/script/dom/documentorshadowroot.rs
parent3a3c3aeb7548db10a6ef16ca988fb573dd349303 (diff)
downloadservo-4acaa08cf508ae42a7bd37e15047a14d17bb6d63.tar.gz
servo-4acaa08cf508ae42a7bd37e15047a14d17bb6d63.zip
Cleanup Stylo dependencies (#36046)
Now that Stylo considers `servo` as the default feature, Servo doesn't need to specify `features = ["servo"]`. Also use the same crate names as Stylo, rather than renaming them with `package`. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
Diffstat (limited to 'components/script/dom/documentorshadowroot.rs')
-rw-r--r--components/script/dom/documentorshadowroot.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/documentorshadowroot.rs b/components/script/dom/documentorshadowroot.rs
index 7c3997da34d..bfc29673d7d 100644
--- a/components/script/dom/documentorshadowroot.rs
+++ b/components/script/dom/documentorshadowroot.rs
@@ -41,8 +41,8 @@ pub(crate) struct StyleSheetInDocument {
// This is necessary because this type is contained within a Stylo type which needs
// Stylo's version of MallocSizeOf.
-impl style_malloc_size_of::MallocSizeOf for StyleSheetInDocument {
- fn size_of(&self, ops: &mut style_malloc_size_of::MallocSizeOfOps) -> usize {
+impl stylo_malloc_size_of::MallocSizeOf for StyleSheetInDocument {
+ fn size_of(&self, ops: &mut stylo_malloc_size_of::MallocSizeOfOps) -> usize {
<StyleSheetInDocument as malloc_size_of::MallocSizeOf>::size_of(self, ops)
}
}