mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make script build without impl<T: HeapSizeOf> HeapSizeOf for Arc<T>
.
The removal of this impl is not included in this commit. CC https://github.com/servo/heapsize/issues/37#issuecomment-249861171
This commit is contained in:
parent
29c72d15a9
commit
aeb3efda1f
8 changed files with 21 additions and 3 deletions
|
@ -52,6 +52,7 @@ no_jsmanaged_fields!(Stylesheet);
|
|||
pub struct HTMLLinkElement {
|
||||
htmlelement: HTMLElement,
|
||||
rel_list: MutNullableHeap<JS<DOMTokenList>>,
|
||||
#[ignore_heap_size_of = "Arc"]
|
||||
stylesheet: DOMRefCell<Option<Arc<Stylesheet>>>,
|
||||
|
||||
/// https://html.spec.whatwg.org/multipage/#a-style-sheet-that-is-blocking-scripts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue