Replace typeString with type_string.

This commit is contained in:
Arthur Marble 2016-09-17 18:28:28 -05:00
parent 5ce3510a50
commit e7ffbf819a
2 changed files with 7 additions and 7 deletions

View file

@ -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 {