aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlappletelement.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-05-03 22:17:45 +0200
committerMs2ger <ms2ger@gmail.com>2014-05-03 22:17:45 +0200
commit243814022e06c35c9bcdd99ccd281cb6ed180db0 (patch)
tree64dcd6f6eace86d63688100c37de00ea238262de /src/components/script/dom/htmlappletelement.rs
parent731e66ff132e41cdc49bc5324c0e15be19c46ec2 (diff)
downloadservo-243814022e06c35c9bcdd99ccd281cb6ed180db0.tar.gz
servo-243814022e06c35c9bcdd99ccd281cb6ed180db0.zip
Replace all ~"" with "".to_owned().
Diffstat (limited to 'src/components/script/dom/htmlappletelement.rs')
-rw-r--r--src/components/script/dom/htmlappletelement.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/components/script/dom/htmlappletelement.rs b/src/components/script/dom/htmlappletelement.rs
index 385750d0a16..178a644e96c 100644
--- a/src/components/script/dom/htmlappletelement.rs
+++ b/src/components/script/dom/htmlappletelement.rs
@@ -67,7 +67,7 @@ pub trait HTMLAppletElementMethods {
impl<'a> HTMLAppletElementMethods for JSRef<'a, HTMLAppletElement> {
fn Align(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetAlign(&mut self, _align: DOMString) -> ErrorResult {
@@ -75,7 +75,7 @@ impl<'a> HTMLAppletElementMethods for JSRef<'a, HTMLAppletElement> {
}
fn Alt(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetAlt(&self, _alt: DOMString) -> ErrorResult {
@@ -83,7 +83,7 @@ impl<'a> HTMLAppletElementMethods for JSRef<'a, HTMLAppletElement> {
}
fn Archive(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetArchive(&self, _archive: DOMString) -> ErrorResult {
@@ -91,7 +91,7 @@ impl<'a> HTMLAppletElementMethods for JSRef<'a, HTMLAppletElement> {
}
fn Code(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetCode(&self, _code: DOMString) -> ErrorResult {
@@ -99,7 +99,7 @@ impl<'a> HTMLAppletElementMethods for JSRef<'a, HTMLAppletElement> {
}
fn CodeBase(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetCodeBase(&self, _code_base: DOMString) -> ErrorResult {
@@ -107,7 +107,7 @@ impl<'a> HTMLAppletElementMethods for JSRef<'a, HTMLAppletElement> {
}
fn Height(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetHeight(&self, _height: DOMString) -> ErrorResult {
@@ -123,7 +123,7 @@ impl<'a> HTMLAppletElementMethods for JSRef<'a, HTMLAppletElement> {
}
fn Name(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetName(&mut self, _name: DOMString) -> ErrorResult {
@@ -131,7 +131,7 @@ impl<'a> HTMLAppletElementMethods for JSRef<'a, HTMLAppletElement> {
}
fn Object(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetObject(&mut self, _object: DOMString) -> ErrorResult {
@@ -147,7 +147,7 @@ impl<'a> HTMLAppletElementMethods for JSRef<'a, HTMLAppletElement> {
}
fn Width(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetWidth(&mut self, _width: DOMString) -> ErrorResult {