Replace all ~"" with "".to_owned().

This commit is contained in:
Ms2ger 2014-05-03 22:17:45 +02:00
parent 731e66ff13
commit 243814022e
78 changed files with 290 additions and 290 deletions

View file

@ -66,7 +66,7 @@ impl<'a> HTMLOutputElementMethods for JSRef<'a, HTMLOutputElement> {
}
fn Name(&self) -> DOMString {
~""
"".to_owned()
}
fn SetName(&mut self, _name: DOMString) -> ErrorResult {
@ -74,11 +74,11 @@ impl<'a> HTMLOutputElementMethods for JSRef<'a, HTMLOutputElement> {
}
fn Type(&self) -> DOMString {
~""
"".to_owned()
}
fn DefaultValue(&self) -> DOMString {
~""
"".to_owned()
}
fn SetDefaultValue(&mut self, _value: DOMString) -> ErrorResult {
@ -86,7 +86,7 @@ impl<'a> HTMLOutputElementMethods for JSRef<'a, HTMLOutputElement> {
}
fn Value(&self) -> DOMString {
~""
"".to_owned()
}
fn SetValue(&mut self, _value: DOMString) -> ErrorResult {
@ -106,7 +106,7 @@ impl<'a> HTMLOutputElementMethods for JSRef<'a, HTMLOutputElement> {
}
fn ValidationMessage(&self) -> DOMString {
~""
"".to_owned()
}
fn SetValidationMessage(&mut self, _message: DOMString) -> ErrorResult {