mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Replace all ~"" with "".to_owned().
This commit is contained in:
parent
731e66ff13
commit
243814022e
78 changed files with 290 additions and 290 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue