aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmltextareaelement.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/htmltextareaelement.rs
parentb1762655e6ce7e9ff8a79710a5b10bef34a3c26b (diff)
downloadservo-f5ef4365f46d31cb4aa85474345a5d2c20e86590.tar.gz
servo-f5ef4365f46d31cb4aa85474345a5d2c20e86590.zip
Stop passing DOMStrings via borrowed pointer. (#1201)
Diffstat (limited to 'src/components/script/dom/htmltextareaelement.rs')
-rw-r--r--src/components/script/dom/htmltextareaelement.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/components/script/dom/htmltextareaelement.rs b/src/components/script/dom/htmltextareaelement.rs
index 4c5655fd6e7..c4553ec5c32 100644
--- a/src/components/script/dom/htmltextareaelement.rs
+++ b/src/components/script/dom/htmltextareaelement.rs
@@ -63,7 +63,7 @@ impl HTMLTextAreaElement {
~""
}
- pub fn SetName(&mut self, _name: &DOMString) -> ErrorResult {
+ pub fn SetName(&mut self, _name: DOMString) -> ErrorResult {
Ok(())
}
@@ -71,7 +71,7 @@ impl HTMLTextAreaElement {
~""
}
- pub fn SetPlaceholder(&mut self, _placeholder: &DOMString) -> ErrorResult {
+ pub fn SetPlaceholder(&mut self, _placeholder: DOMString) -> ErrorResult {
Ok(())
}
@@ -103,7 +103,7 @@ impl HTMLTextAreaElement {
~""
}
- pub fn SetWrap(&mut self, _wrap: &DOMString) -> ErrorResult {
+ pub fn SetWrap(&mut self, _wrap: DOMString) -> ErrorResult {
Ok(())
}
@@ -111,14 +111,14 @@ impl HTMLTextAreaElement {
~""
}
- pub fn SetType(&mut self, _type: &DOMString) {
+ pub fn SetType(&mut self, _type: DOMString) {
}
pub fn DefaultValue(&self) -> DOMString {
~""
}
- pub fn SetDefaultValue(&mut self, _default_value: &DOMString) -> ErrorResult {
+ pub fn SetDefaultValue(&mut self, _default_value: DOMString) -> ErrorResult {
Ok(())
}
@@ -126,7 +126,7 @@ impl HTMLTextAreaElement {
~""
}
- pub fn SetValue(&mut self, _value: &DOMString) {
+ pub fn SetValue(&mut self, _value: DOMString) {
}
pub fn TextLength(&self) -> u32 {
@@ -153,7 +153,7 @@ impl HTMLTextAreaElement {
false
}
- pub fn SetCustomValidity(&self, _error: &DOMString) {
+ pub fn SetCustomValidity(&self, _error: DOMString) {
}
pub fn Select(&self) {
@@ -179,10 +179,10 @@ impl HTMLTextAreaElement {
Ok(~"")
}
- pub fn SetSelectionDirection(&self, _selection_direction: &DOMString) -> ErrorResult {
+ pub fn SetSelectionDirection(&self, _selection_direction: DOMString) -> ErrorResult {
Ok(())
}
- pub fn SetRangeText(&self, _replacement: &DOMString) {
+ pub fn SetRangeText(&self, _replacement: DOMString) {
}
}