mirror of
https://github.com/servo/servo.git
synced 2025-10-12 06:20:26 +01:00
Library changes
This commit is contained in:
parent
ffe60ea027
commit
be061a9aa0
45 changed files with 167 additions and 183 deletions
|
@ -39,7 +39,7 @@ impl FormData {
|
|||
pub fn Append(&mut self, name: &DOMString, value: @mut Blob, filename: Option<DOMString>) {
|
||||
let blob = BlobData {
|
||||
blob: value,
|
||||
name: filename.get_or_default(str(~"default"))
|
||||
name: filename.unwrap_or_default(str(~"default"))
|
||||
};
|
||||
self.data.insert(name.to_str(), blob);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue