aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlelement.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/htmlelement.rs
parentb1762655e6ce7e9ff8a79710a5b10bef34a3c26b (diff)
downloadservo-f5ef4365f46d31cb4aa85474345a5d2c20e86590.tar.gz
servo-f5ef4365f46d31cb4aa85474345a5d2c20e86590.zip
Stop passing DOMStrings via borrowed pointer. (#1201)
Diffstat (limited to 'src/components/script/dom/htmlelement.rs')
-rw-r--r--src/components/script/dom/htmlelement.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/script/dom/htmlelement.rs b/src/components/script/dom/htmlelement.rs
index a5291e5b575..cdffbae1611 100644
--- a/src/components/script/dom/htmlelement.rs
+++ b/src/components/script/dom/htmlelement.rs
@@ -32,21 +32,21 @@ impl HTMLElement {
~""
}
- pub fn SetTitle(&mut self, _title: &DOMString) {
+ pub fn SetTitle(&mut self, _title: DOMString) {
}
pub fn Lang(&self) -> DOMString {
~""
}
- pub fn SetLang(&mut self, _lang: &DOMString) {
+ pub fn SetLang(&mut self, _lang: DOMString) {
}
pub fn Dir(&self) -> DOMString {
~""
}
- pub fn SetDir(&mut self, _dir: &DOMString) -> ErrorResult {
+ pub fn SetDir(&mut self, _dir: DOMString) -> ErrorResult {
Ok(())
}
@@ -89,7 +89,7 @@ impl HTMLElement {
~""
}
- pub fn SetAccessKey(&self, _key: &DOMString) -> ErrorResult {
+ pub fn SetAccessKey(&self, _key: DOMString) -> ErrorResult {
Ok(())
}
@@ -109,7 +109,7 @@ impl HTMLElement {
~""
}
- pub fn SetContentEditable(&mut self, _val: &DOMString) -> ErrorResult {
+ pub fn SetContentEditable(&mut self, _val: DOMString) -> ErrorResult {
Ok(())
}
@@ -129,7 +129,7 @@ impl HTMLElement {
~""
}
- pub fn SetClassName(&self, _class: &DOMString) {
+ pub fn SetClassName(&self, _class: DOMString) {
}
pub fn GetOffsetParent(&self) -> Option<AbstractNode<ScriptView>> {