Replace many uses of Attr::Value() by Attr::value()

The later only borrows the attribute, without copying its value as a string.
This commit is contained in:
Anthony Ramine 2015-08-28 01:05:07 +02:00
parent 105d990845
commit 51418fc348
5 changed files with 30 additions and 28 deletions

View file

@ -314,7 +314,7 @@ impl HTMLFormElement {
_ => Some(FormDatum {
ty: ty,
name: name,
value: input.Value()
value: value
})
}
}