aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlframeelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmlframeelement.rs')
-rw-r--r--src/components/script/dom/htmlframeelement.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/script/dom/htmlframeelement.rs b/src/components/script/dom/htmlframeelement.rs
index 858a182ba10..3322fd32cdc 100644
--- a/src/components/script/dom/htmlframeelement.rs
+++ b/src/components/script/dom/htmlframeelement.rs
@@ -64,7 +64,7 @@ pub trait HTMLFrameElementMethods {
impl<'a> HTMLFrameElementMethods for JSRef<'a, HTMLFrameElement> {
fn Name(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetName(&mut self, _name: DOMString) -> ErrorResult {
@@ -72,7 +72,7 @@ impl<'a> HTMLFrameElementMethods for JSRef<'a, HTMLFrameElement> {
}
fn Scrolling(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetScrolling(&mut self, _scrolling: DOMString) -> ErrorResult {
@@ -80,7 +80,7 @@ impl<'a> HTMLFrameElementMethods for JSRef<'a, HTMLFrameElement> {
}
fn Src(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetSrc(&mut self, _src: DOMString) -> ErrorResult {
@@ -88,7 +88,7 @@ impl<'a> HTMLFrameElementMethods for JSRef<'a, HTMLFrameElement> {
}
fn FrameBorder(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetFrameBorder(&mut self, _frameborder: DOMString) -> ErrorResult {
@@ -96,7 +96,7 @@ impl<'a> HTMLFrameElementMethods for JSRef<'a, HTMLFrameElement> {
}
fn LongDesc(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetLongDesc(&mut self, _longdesc: DOMString) -> ErrorResult {
@@ -120,7 +120,7 @@ impl<'a> HTMLFrameElementMethods for JSRef<'a, HTMLFrameElement> {
}
fn MarginHeight(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetMarginHeight(&mut self, _height: DOMString) -> ErrorResult {
@@ -128,7 +128,7 @@ impl<'a> HTMLFrameElementMethods for JSRef<'a, HTMLFrameElement> {
}
fn MarginWidth(&self) -> DOMString {
- ~""
+ "".to_owned()
}
fn SetMarginWidth(&mut self, _height: DOMString) -> ErrorResult {