mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Refactored a couple of files from codeStyle to code_style.
This commit is contained in:
parent
dd4907c985
commit
55ff161ed5
3 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue