aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmlparamelement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/dom/htmlparamelement.rs')
-rw-r--r--src/components/script/dom/htmlparamelement.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/components/script/dom/htmlparamelement.rs b/src/components/script/dom/htmlparamelement.rs
index 5cb09b47d32..e9bc3cd07fa 100644
--- a/src/components/script/dom/htmlparamelement.rs
+++ b/src/components/script/dom/htmlparamelement.rs
@@ -39,13 +39,13 @@ impl HTMLParamElement {
pub trait HTMLParamElementMethods {
fn Name(&self) -> DOMString;
- fn SetName(&mut self, _name: DOMString) -> ErrorResult;
+ fn SetName(&self, _name: DOMString) -> ErrorResult;
fn Value(&self) -> DOMString;
- fn SetValue(&mut self, _value: DOMString) -> ErrorResult;
+ fn SetValue(&self, _value: DOMString) -> ErrorResult;
fn Type(&self) -> DOMString;
- fn SetType(&mut self, _type: DOMString) -> ErrorResult;
+ fn SetType(&self, _type: DOMString) -> ErrorResult;
fn ValueType(&self) -> DOMString;
- fn SetValueType(&mut self, _value_type: DOMString) -> ErrorResult;
+ fn SetValueType(&self, _value_type: DOMString) -> ErrorResult;
}
impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
@@ -53,7 +53,7 @@ impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
"".to_owned()
}
- fn SetName(&mut self, _name: DOMString) -> ErrorResult {
+ fn SetName(&self, _name: DOMString) -> ErrorResult {
Ok(())
}
@@ -61,7 +61,7 @@ impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
"".to_owned()
}
- fn SetValue(&mut self, _value: DOMString) -> ErrorResult {
+ fn SetValue(&self, _value: DOMString) -> ErrorResult {
Ok(())
}
@@ -69,7 +69,7 @@ impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
"".to_owned()
}
- fn SetType(&mut self, _type: DOMString) -> ErrorResult {
+ fn SetType(&self, _type: DOMString) -> ErrorResult {
Ok(())
}
@@ -77,7 +77,7 @@ impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
"".to_owned()
}
- fn SetValueType(&mut self, _value_type: DOMString) -> ErrorResult {
+ fn SetValueType(&self, _value_type: DOMString) -> ErrorResult {
Ok(())
}
}