aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlbodyelement.rs
diff options
context:
space:
mode:
authorTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2013-11-09 03:55:30 +0900
committerTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2013-11-14 20:35:36 +0900
commitf5ef4365f46d31cb4aa85474345a5d2c20e86590 (patch)
treee4ac7016de573cfc179e1121d93eb384b3ef2fd7 /src/components/script/dom/htmlbodyelement.rs
parentb1762655e6ce7e9ff8a79710a5b10bef34a3c26b (diff)
downloadservo-f5ef4365f46d31cb4aa85474345a5d2c20e86590.tar.gz
servo-f5ef4365f46d31cb4aa85474345a5d2c20e86590.zip
Stop passing DOMStrings via borrowed pointer. (#1201)
Diffstat (limited to 'src/components/script/dom/htmlbodyelement.rs')
-rw-r--r--src/components/script/dom/htmlbodyelement.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/script/dom/htmlbodyelement.rs b/src/components/script/dom/htmlbodyelement.rs
index 05468113282..10d5ebb3dab 100644
--- a/src/components/script/dom/htmlbodyelement.rs
+++ b/src/components/script/dom/htmlbodyelement.rs
@@ -31,7 +31,7 @@ impl HTMLBodyElement {
~""
}
- pub fn SetText(&mut self, _text: &DOMString) -> ErrorResult {
+ pub fn SetText(&mut self, _text: DOMString) -> ErrorResult {
Ok(())
}
@@ -39,7 +39,7 @@ impl HTMLBodyElement {
~""
}
- pub fn SetLink(&self, _link: &DOMString) -> ErrorResult {
+ pub fn SetLink(&self, _link: DOMString) -> ErrorResult {
Ok(())
}
@@ -47,7 +47,7 @@ impl HTMLBodyElement {
~""
}
- pub fn SetVLink(&self, _v_link: &DOMString) -> ErrorResult {
+ pub fn SetVLink(&self, _v_link: DOMString) -> ErrorResult {
Ok(())
}
@@ -55,7 +55,7 @@ impl HTMLBodyElement {
~""
}
- pub fn SetALink(&self, _a_link: &DOMString) -> ErrorResult {
+ pub fn SetALink(&self, _a_link: DOMString) -> ErrorResult {
Ok(())
}
@@ -63,7 +63,7 @@ impl HTMLBodyElement {
~""
}
- pub fn SetBgColor(&self, _bg_color: &DOMString) -> ErrorResult {
+ pub fn SetBgColor(&self, _bg_color: DOMString) -> ErrorResult {
Ok(())
}
@@ -71,7 +71,7 @@ impl HTMLBodyElement {
~""
}
- pub fn SetBackground(&self, _background: &DOMString) -> ErrorResult {
+ pub fn SetBackground(&self, _background: DOMString) -> ErrorResult {
Ok(())
}
}