diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2016-09-27 15:30:55 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2016-10-04 13:45:58 +0200 |
commit | aeb3efda1ff7a386b49ef341d321cc93c3980a6b (patch) | |
tree | 3d81f89ed374f2270ca43b18e3bfc66ffc26e213 /components/script/dom/htmllinkelement.rs | |
parent | 29c72d15a943386ee2f3130fbe741b0457cb52e5 (diff) | |
download | servo-aeb3efda1ff7a386b49ef341d321cc93c3980a6b.tar.gz servo-aeb3efda1ff7a386b49ef341d321cc93c3980a6b.zip |
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
Diffstat (limited to 'components/script/dom/htmllinkelement.rs')
-rw-r--r-- | components/script/dom/htmllinkelement.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/htmllinkelement.rs b/components/script/dom/htmllinkelement.rs index 7c6cabd345e..74e21ac9668 100644 --- a/components/script/dom/htmllinkelement.rs +++ b/components/script/dom/htmllinkelement.rs @@ -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 |