Stop passing DOMStrings via borrowed pointer. (#1201)

This commit is contained in:
Tetsuharu OHZEKI 2013-11-09 03:55:30 +09:00
parent b1762655e6
commit f5ef4365f4
74 changed files with 364 additions and 366 deletions

View file

@ -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 {