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

@ -51,7 +51,7 @@ pub trait HTMLFontElementMethods {
impl<'a> HTMLFontElementMethods for JSRef<'a, HTMLFontElement> {
fn Color(&self) -> DOMString {
~""
"".to_owned()
}
fn SetColor(&mut self, _color: DOMString) -> ErrorResult {
@ -59,7 +59,7 @@ impl<'a> HTMLFontElementMethods for JSRef<'a, HTMLFontElement> {
}
fn Face(&self) -> DOMString {
~""
"".to_owned()
}
fn SetFace(&mut self, _face: DOMString) -> ErrorResult {
@ -67,7 +67,7 @@ impl<'a> HTMLFontElementMethods for JSRef<'a, HTMLFontElement> {
}
fn Size(&self) -> DOMString {
~""
"".to_owned()
}
fn SetSize(&mut self, _size: DOMString) -> ErrorResult {