diff options
Diffstat (limited to 'components/script/dom/bindings/refcounted.rs')
-rw-r--r-- | components/script/dom/bindings/refcounted.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/bindings/refcounted.rs b/components/script/dom/bindings/refcounted.rs index d0a2ea9dffe..97a181f1c2f 100644 --- a/components/script/dom/bindings/refcounted.rs +++ b/components/script/dom/bindings/refcounted.rs @@ -265,7 +265,7 @@ impl LiveDOMReferences { let capacity = table.capacity(); let len = table.len(); if (0 < capacity) && (capacity <= len) { - info!("growing refcounted references by {}", len); + trace!("growing refcounted references by {}", len); remove_nulls(&mut table); table.reserve(len); } @@ -294,7 +294,7 @@ fn remove_nulls<K: Eq + Hash + Clone, V>(table: &mut HashMap<K, Weak<V>>) { .filter(|&(_, value)| Weak::upgrade(value).is_none()) .map(|(key, _)| key.clone()) .collect(); - info!("removing {} refcounted references", to_remove.len()); + trace!("removing {} refcounted references", to_remove.len()); for key in to_remove { table.remove(&key); } @@ -303,7 +303,7 @@ fn remove_nulls<K: Eq + Hash + Clone, V>(table: &mut HashMap<K, Weak<V>>) { /// A JSTraceDataOp for tracing reflectors held in LIVE_REFERENCES #[allow(crown::unrooted_must_root)] pub unsafe fn trace_refcounted_objects(tracer: *mut JSTracer) { - info!("tracing live refcounted references"); + trace!("tracing live refcounted references"); LIVE_REFERENCES.with(|r| { let r = r.borrow(); let live_references = r.as_ref().unwrap(); |