mirror of
https://github.com/servo/servo.git
synced 2025-08-21 21:35:32 +01:00
Remove heapsize for Stylo
This commit is contained in:
parent
0ebb9ec9e8
commit
94eb159137
4 changed files with 3 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue