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

@ -6,7 +6,6 @@
use gecko_bindings::structs;
use gecko_bindings::sugar::ownership::HasArcFFI;
use heapsize::HeapSizeOf;
use std::{mem, ptr};
use std::marker::PhantomData;
use std::ops::{Deref, DerefMut};
@ -222,10 +221,6 @@ impl<T: RefCounted> Clone for RefPtr<T> {
}
}
impl<T: RefCounted> HeapSizeOf for RefPtr<T> {
fn heap_size_of_children(&self) -> usize { 0 }
}
impl<T: RefCounted> PartialEq for RefPtr<T> {
fn eq(&self, other: &Self) -> bool {
self.ptr == other.ptr