mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
Auto merge of #16169 - servo:stylo-heapsize, r=emilio
Remove heapsize for Stylo It doesn’t seem to be used, and is causing compilation trouble for Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=1350581 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16169) <!-- Reviewable:end -->
This commit is contained in:
commit
42f58503c0
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};
|
||||
|
@ -231,10 +230,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