Cleanup malloc_size_of for NodeIterator and HTMLCollection (#34118)

Signed-off-by: Wulan Seruniati Salim <wulanseruniati@gmail.com>
This commit is contained in:
Wulan Seruniati Salim 2024-11-04 03:28:55 +07:00 committed by GitHub
parent a2af619009
commit e93544c003
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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.