diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-01-30 15:06:31 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-02-04 22:03:32 +0100 |
commit | cb5cd8d881c39f549381e078b44f341dea733e68 (patch) | |
tree | 2035bc256a114cd362a10cf7e8c461a7743f8209 /components/script/dom/xmlhttprequest.rs | |
parent | 9932a5cf82a9fb109e7ac8b07e4f19535101ce44 (diff) | |
download | servo-cb5cd8d881c39f549381e078b44f341dea733e68.tar.gz servo-cb5cd8d881c39f549381e078b44f341dea733e68.zip |
Say farewell to in-tree HeapSizeOf
Diffstat (limited to 'components/script/dom/xmlhttprequest.rs')
-rw-r--r-- | components/script/dom/xmlhttprequest.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs index e6b7374ef39..59feddfcc22 100644 --- a/components/script/dom/xmlhttprequest.rs +++ b/components/script/dom/xmlhttprequest.rs @@ -62,7 +62,6 @@ use string_cache::Atom; use time; use timers::{ScheduledCallback, TimerHandle}; use url::Url; -use util::mem::HeapSizeOf; use util::str::DOMString; pub type SendParam = BlobOrStringOrURLSearchParams; @@ -127,11 +126,13 @@ pub struct XMLHttpRequest { response_xml: MutNullableHeap<JS<Document>>, #[ignore_heap_size_of = "Defined in hyper"] response_headers: DOMRefCell<Headers>, + #[ignore_heap_size_of = "Defined in hyper"] override_mime_type: DOMRefCell<Option<Mime>>, #[ignore_heap_size_of = "Defined in rust-encoding"] override_charset: DOMRefCell<Option<EncodingRef>>, // Associated concepts + #[ignore_heap_size_of = "Defined in hyper"] request_method: DOMRefCell<Method>, request_url: DOMRefCell<Option<Url>>, #[ignore_heap_size_of = "Defined in hyper"] |