aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/blob.rs
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-08-28 09:52:53 -0400
committerCorey Farwell <coreyf@rwell.org>2015-08-28 10:30:42 -0400
commit5ccb0d43ef68c341afa51ec0dcde90fbb277c1fc (patch)
tree98d66a744cd8fcde27e4e7670ba4db5d65b286bd /components/script/dom/blob.rs
parent6431e8da43817e8a6b1e4757afbcf45c1a629707 (diff)
downloadservo-5ccb0d43ef68c341afa51ec0dcde90fbb277c1fc.tar.gz
servo-5ccb0d43ef68c341afa51ec0dcde90fbb277c1fc.zip
Merge adjacent identical `impl` sections
Prior to #7416 and #7401, many of these `impl` sections were not identical
Diffstat (limited to 'components/script/dom/blob.rs')
-rw-r--r--components/script/dom/blob.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/components/script/dom/blob.rs b/components/script/dom/blob.rs
index 23b9965a9f6..f8102dd9acf 100644
--- a/components/script/dom/blob.rs
+++ b/components/script/dom/blob.rs
@@ -77,10 +77,7 @@ impl Blob {
};
Ok(Blob::new(global, bytes, &typeString.to_ascii_lowercase()))
}
-}
-
-impl Blob {
pub fn read_out_buffer(&self, send: Sender<Vec<u8>>) {
send.send(self.bytes.clone().unwrap_or(vec![])).unwrap();
}