mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Stop passing DOMStrings via borrowed pointer. (#1201)
This commit is contained in:
parent
b1762655e6
commit
f5ef4365f4
74 changed files with 364 additions and 366 deletions
|
@ -66,8 +66,8 @@ impl Attr {
|
|||
self.value.clone()
|
||||
}
|
||||
|
||||
pub fn SetValue(&mut self, value: &DOMString) {
|
||||
self.value = value.clone();
|
||||
pub fn SetValue(&mut self, value: DOMString) {
|
||||
self.value = value;
|
||||
}
|
||||
|
||||
pub fn Name(&self) -> DOMString {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue