mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Measure the stylist during memory reporting.
This commit is contained in:
parent
f648e12935
commit
d880efcab3
14 changed files with 356 additions and 28 deletions
|
@ -188,4 +188,9 @@ impl<T> PerPseudoElementMap<T> {
|
|||
}
|
||||
Ok(self.entries[index].as_mut().unwrap())
|
||||
}
|
||||
|
||||
/// Get an iterator for the entries.
|
||||
pub fn iter(&self) -> ::std::slice::Iter<Option<T>> {
|
||||
self.entries.iter()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue