Derive MallocSizeOf for QuirksMode

This commit is contained in:
Fernando Jiménez Moreno 2019-03-01 18:49:37 +01:00
parent 2350f0e3d1
commit 542699691e
3 changed files with 7 additions and 2 deletions

View file

@ -778,6 +778,12 @@ impl<Impl: selectors::parser::SelectorImpl> MallocSizeOf
}
}
impl MallocSizeOf for selectors::context::QuirksMode {
fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize {
0
}
}
impl MallocSizeOf for Void {
#[inline]
fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize {