make dom_struct derive HeapSizeOf,

closes #7357
This commit is contained in:
João Oliveira 2015-08-25 16:38:56 +01:00
parent af4c3901d8
commit fd87c8cb3e
155 changed files with 3 additions and 226 deletions

View file

@ -21,7 +21,6 @@ use util::str::DOMString;
/// An HTML text node.
#[dom_struct]
#[derive(HeapSizeOf)]
pub struct Text {
characterdata: CharacterData,
}
@ -102,4 +101,3 @@ impl<'a> TextMethods for &'a Text {
text
}
}