aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlmetaelement.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2016-09-27 15:30:55 +0200
committerSimon Sapin <simon.sapin@exyr.org>2016-10-04 13:45:58 +0200
commitaeb3efda1ff7a386b49ef341d321cc93c3980a6b (patch)
tree3d81f89ed374f2270ca43b18e3bfc66ffc26e213 /components/script/dom/htmlmetaelement.rs
parent29c72d15a943386ee2f3130fbe741b0457cb52e5 (diff)
downloadservo-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/htmlmetaelement.rs')
-rw-r--r--components/script/dom/htmlmetaelement.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/htmlmetaelement.rs b/components/script/dom/htmlmetaelement.rs
index 34e4dbdfefe..1b057783908 100644
--- a/components/script/dom/htmlmetaelement.rs
+++ b/components/script/dom/htmlmetaelement.rs
@@ -27,6 +27,7 @@ use style::viewport::ViewportRule;
#[dom_struct]
pub struct HTMLMetaElement {
htmlelement: HTMLElement,
+ #[ignore_heap_size_of = "Arc"]
stylesheet: DOMRefCell<Option<Arc<Stylesheet>>>,
}