mirror of
https://github.com/servo/servo.git
synced 2025-06-25 09:34:32 +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
|
@ -56,7 +56,7 @@ pub trait HTMLTrackElementMethods {
|
|||
|
||||
impl<'a> HTMLTrackElementMethods for JSRef<'a, HTMLTrackElement> {
|
||||
fn Kind(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetKind(&mut self, _kind: DOMString) -> ErrorResult {
|
||||
|
@ -64,7 +64,7 @@ impl<'a> HTMLTrackElementMethods for JSRef<'a, HTMLTrackElement> {
|
|||
}
|
||||
|
||||
fn Src(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetSrc(&mut self, _src: DOMString) -> ErrorResult {
|
||||
|
@ -72,7 +72,7 @@ impl<'a> HTMLTrackElementMethods for JSRef<'a, HTMLTrackElement> {
|
|||
}
|
||||
|
||||
fn Srclang(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetSrclang(&mut self, _srclang: DOMString) -> ErrorResult {
|
||||
|
@ -80,7 +80,7 @@ impl<'a> HTMLTrackElementMethods for JSRef<'a, HTMLTrackElement> {
|
|||
}
|
||||
|
||||
fn Label(&self) -> DOMString {
|
||||
~""
|
||||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetLabel(&mut self, _label: DOMString) -> ErrorResult {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue