mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
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:
parent
105d990845
commit
51418fc348
5 changed files with 30 additions and 28 deletions
|
@ -314,7 +314,7 @@ impl HTMLFormElement {
|
|||
_ => Some(FormDatum {
|
||||
ty: ty,
|
||||
name: name,
|
||||
value: input.Value()
|
||||
value: value
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue