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

@ -63,7 +63,7 @@ impl<'a> HTMLStyleElementMethods for JSRef<'a, HTMLStyleElement> {
}
fn Media(&self) -> DOMString {
~""
"".to_owned()
}
fn SetMedia(&mut self, _media: DOMString) -> ErrorResult {
@ -71,7 +71,7 @@ impl<'a> HTMLStyleElementMethods for JSRef<'a, HTMLStyleElement> {
}
fn Type(&self) -> DOMString {
~""
"".to_owned()
}
fn SetType(&mut self, _type: DOMString) -> ErrorResult {