diff options
Diffstat (limited to 'components/script/dom/formdata.rs')
-rw-r--r-- | components/script/dom/formdata.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/formdata.rs b/components/script/dom/formdata.rs index 5b7f497b8f3..ff2b6d78fdc 100644 --- a/components/script/dom/formdata.rs +++ b/components/script/dom/formdata.rs @@ -23,12 +23,14 @@ use std::collections::hash_map::Entry::{Occupied, Vacant}; #[derive(JSTraceable, Clone)] #[must_root] +#[derive(HeapSizeOf)] pub enum FormDatum { StringData(DOMString), FileData(JS<File>) } #[dom_struct] +#[derive(HeapSizeOf)] pub struct FormData { reflector_: Reflector, data: DOMRefCell<HashMap<DOMString, Vec<FormDatum>>>, |