aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlcollection.rs
diff options
context:
space:
mode:
authorWulan Seruniati Salim <103485830+wulanseruniati@users.noreply.github.com>2024-11-04 03:28:55 +0700
committerGitHub <noreply@github.com>2024-11-03 20:28:55 +0000
commite93544c0039b196a2514207731ec9280e22a8564 (patch)
tree102e2f3d589a324e898485bb1b555cacce2b79b9 /components/script/dom/htmlcollection.rs
parenta2af619009a6adf2c845411c3dfc365b00457535 (diff)
downloadservo-e93544c0039b196a2514207731ec9280e22a8564.tar.gz
servo-e93544c0039b196a2514207731ec9280e22a8564.zip
Cleanup malloc_size_of for NodeIterator and HTMLCollection (#34118)
Signed-off-by: Wulan Seruniati Salim <wulanseruniati@gmail.com>
Diffstat (limited to 'components/script/dom/htmlcollection.rs')
-rw-r--r--components/script/dom/htmlcollection.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlcollection.rs b/components/script/dom/htmlcollection.rs
index 6a60e0f42af..0dc1eae0a12 100644
--- a/components/script/dom/htmlcollection.rs
+++ b/components/script/dom/htmlcollection.rs
@@ -56,7 +56,7 @@ impl OptionU32 {
pub struct HTMLCollection {
reflector_: Reflector,
root: Dom<Node>,
- #[ignore_malloc_size_of = "Contains a trait object; can't measure due to #6870"]
+ #[ignore_malloc_size_of = "Trait object (Box<dyn CollectionFilter>) cannot be sized"]
filter: Box<dyn CollectionFilter + 'static>,
// We cache the version of the root node and all its decendents,
// the length of the collection, and a cursor into the collection.