diff options
Diffstat (limited to 'components/script/dom/file.rs')
-rw-r--r-- | components/script/dom/file.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/file.rs b/components/script/dom/file.rs index f9b181dbf1a..8b4abaaed80 100644 --- a/components/script/dom/file.rs +++ b/components/script/dom/file.rs @@ -25,9 +25,9 @@ pub struct File { impl File { #[allow(unrooted_must_root)] fn new_inherited(blob_impl: BlobImpl, name: DOMString, - modified: Option<i64>, typeString: &str) -> File { + modified: Option<i64>, type_string: &str) -> File { File { - blob: Blob::new_inherited(blob_impl, typeString.to_owned()), + blob: Blob::new_inherited(blob_impl, type_string.to_owned()), name: name, // https://w3c.github.io/FileAPI/#dfn-lastModified modified: match modified { |