diff options
author | Josh Matthews <josh@joshmatthews.net> | 2016-05-27 13:32:05 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-05-27 13:32:05 -0400 |
commit | 3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e (patch) | |
tree | 4012cf37e6c594149bc8fe7e19b097c7518156e8 /components/script/dom/blob.rs | |
parent | 4ebc065cba15184c8f63a28f128ec833fffccef7 (diff) | |
download | servo-3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e.tar.gz servo-3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e.zip |
Remove empty lines following braces.
Diffstat (limited to 'components/script/dom/blob.rs')
-rw-r--r-- | components/script/dom/blob.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/components/script/dom/blob.rs b/components/script/dom/blob.rs index 47d758d3028..19fe0f4fdc2 100644 --- a/components/script/dom/blob.rs +++ b/components/script/dom/blob.rs @@ -94,7 +94,6 @@ pub struct Blob { } impl Blob { - pub fn new(global: GlobalRef, slice: DataSlice, typeString: &str) -> Root<Blob> { let boxed_blob = box Blob::new_inherited(slice, typeString); reflect_dom_object(boxed_blob, global, BlobBinding::Wrap) @@ -114,7 +113,6 @@ impl Blob { blobParts: Option<Vec<BlobOrString>>, blobPropertyBag: &BlobBinding::BlobPropertyBag) -> Fallible<Root<Blob>> { - // TODO: accept other blobParts types - ArrayBuffer or ArrayBufferView let bytes: Vec<u8> = match blobParts { None => Vec::new(), @@ -160,7 +158,6 @@ impl BlobMethods for Blob { end: Option<i64>, contentType: Option<DOMString>) -> Root<Blob> { - let relativeContentType = match contentType { None => DOMString::new(), Some(mut str) => { |