Remove heapsize for Stylo

This commit is contained in:
Simon Sapin 2017-03-28 17:50:52 +02:00
parent 0ebb9ec9e8
commit 94eb159137
4 changed files with 3 additions and 15 deletions

View file

@ -10,7 +10,6 @@ use gecko_bindings::bindings::Gecko_AddRefAtom;
use gecko_bindings::bindings::Gecko_Atomize;
use gecko_bindings::bindings::Gecko_ReleaseAtom;
use gecko_bindings::structs::nsIAtom;
use heapsize::HeapSizeOf;
use std::borrow::{Cow, Borrow};
use std::char::{self, DecodeUtf16};
use std::fmt::{self, Write};
@ -237,12 +236,6 @@ impl Default for Atom {
}
}
impl HeapSizeOf for Atom {
fn heap_size_of_children(&self) -> usize {
0
}
}
impl fmt::Debug for Atom {
fn fmt(&self, w: &mut fmt::Formatter) -> fmt::Result {
write!(w, "Gecko Atom({:p}, {})", self.0, self)