aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/blob.rs
diff options
context:
space:
mode:
authorArthur Marble <arthur@info9.net>2016-09-17 20:24:33 -0500
committerArthur Marble <arthur@info9.net>2016-09-17 20:31:46 -0500
commit55ff161ed5e57322dcd4ed984c13f3ae3512a01a (patch)
tree544c688f47baa126a374c8d2f18bab43d354c172 /components/script/dom/blob.rs
parentdd4907c985a3f38d5e8e5808cbbbef60cbb47620 (diff)
downloadservo-55ff161ed5e57322dcd4ed984c13f3ae3512a01a.tar.gz
servo-55ff161ed5e57322dcd4ed984c13f3ae3512a01a.zip
Refactored a couple of files from codeStyle to code_style.
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 d9a45d35665..aef31efd687 100644
--- a/components/script/dom/blob.rs
+++ b/components/script/dom/blob.rs
@@ -373,10 +373,10 @@ impl BlobMethods for Blob {
fn Slice(&self,
start: Option<i64>,
end: Option<i64>,
- contentType: Option<DOMString>)
+ content_type: Option<DOMString>)
-> Root<Blob> {
let rel_pos = RelativePos::from_opts(start, end);
- Blob::new_sliced(self, rel_pos, contentType.unwrap_or(DOMString::from("")))
+ Blob::new_sliced(self, rel_pos, content_type.unwrap_or(DOMString::from("")))
}
// https://w3c.github.io/FileAPI/#dfn-isClosed