mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Cleanup malloc_size_of for NodeIterator and HTMLCollection (#34118)
Signed-off-by: Wulan Seruniati Salim <wulanseruniati@gmail.com>
This commit is contained in:
parent
a2af619009
commit
e93544c003
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue