diff options
Diffstat (limited to 'components/script/dom/blob.rs')
-rw-r--r-- | components/script/dom/blob.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/blob.rs b/components/script/dom/blob.rs index 0645a146c0f..b42bcce573e 100644 --- a/components/script/dom/blob.rs +++ b/components/script/dom/blob.rs @@ -113,13 +113,13 @@ impl BlobMethods for Blob { } }; let relativeContentType = match contentType { - None => "".to_owned(), + None => DOMString::new(), Some(mut str) => { if is_ascii_printable(&str) { str.make_ascii_lowercase(); str } else { - "".to_owned() + DOMString::new() } } }; |