aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlstyleelement.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/htmlstyleelement.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/htmlstyleelement.rs')
-rw-r--r--components/script/dom/htmlstyleelement.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/htmlstyleelement.rs b/components/script/dom/htmlstyleelement.rs
index 5e0706e5d65..4db70eb1c8f 100644
--- a/components/script/dom/htmlstyleelement.rs
+++ b/components/script/dom/htmlstyleelement.rs
@@ -24,6 +24,7 @@ use style::stylesheets::{Stylesheet, Origin};
#[dom_struct]
pub struct HTMLStyleElement {
htmlelement: HTMLElement,
+ #[ignore_heap_size_of = "Arc"]
stylesheet: DOMRefCell<Option<Arc<Stylesheet>>>,
}