mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Derive MallocSizeOf for QuirksMode
This commit is contained in:
parent
2350f0e3d1
commit
542699691e
3 changed files with 7 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue