aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/blob.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/blob.rs')
-rw-r--r--components/script/dom/blob.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/blob.rs b/components/script/dom/blob.rs
index 0a6a4f057ab..042536efc52 100644
--- a/components/script/dom/blob.rs
+++ b/components/script/dom/blob.rs
@@ -36,7 +36,7 @@ impl Blob {
reflector_: Reflector::new(),
type_: type_,
bytes: bytes,
- typeString: "".to_string(),
+ typeString: "".into_string(),
global: GlobalField::from_rooted(global)
//isClosed_: false
}
@@ -97,7 +97,7 @@ impl<'a> BlobMethods for JSRef<'a, Blob> {
};
/*
let relativeContentType = match contentType {
- None => "".to_string(),
+ None => "".into_string(),
Some(str) => str
};
*/