diff options
author | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2013-11-09 03:55:30 +0900 |
---|---|---|
committer | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2013-11-14 20:35:36 +0900 |
commit | f5ef4365f46d31cb4aa85474345a5d2c20e86590 (patch) | |
tree | e4ac7016de573cfc179e1121d93eb384b3ef2fd7 /src/components/script/dom/htmlformelement.rs | |
parent | b1762655e6ce7e9ff8a79710a5b10bef34a3c26b (diff) | |
download | servo-f5ef4365f46d31cb4aa85474345a5d2c20e86590.tar.gz servo-f5ef4365f46d31cb4aa85474345a5d2c20e86590.zip |
Stop passing DOMStrings via borrowed pointer. (#1201)
Diffstat (limited to 'src/components/script/dom/htmlformelement.rs')
-rw-r--r-- | src/components/script/dom/htmlformelement.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/components/script/dom/htmlformelement.rs b/src/components/script/dom/htmlformelement.rs index ff207ae4535..d312816def9 100644 --- a/src/components/script/dom/htmlformelement.rs +++ b/src/components/script/dom/htmlformelement.rs @@ -32,7 +32,7 @@ impl HTMLFormElement { ~"" } - pub fn SetAcceptCharset(&mut self, _accept_charset: &DOMString) -> ErrorResult { + pub fn SetAcceptCharset(&mut self, _accept_charset: DOMString) -> ErrorResult { Ok(()) } @@ -40,7 +40,7 @@ impl HTMLFormElement { ~"" } - pub fn SetAction(&mut self, _action: &DOMString) -> ErrorResult { + pub fn SetAction(&mut self, _action: DOMString) -> ErrorResult { Ok(()) } @@ -48,7 +48,7 @@ impl HTMLFormElement { ~"" } - pub fn SetAutocomplete(&mut self, _autocomplete: &DOMString) -> ErrorResult { + pub fn SetAutocomplete(&mut self, _autocomplete: DOMString) -> ErrorResult { Ok(()) } @@ -56,7 +56,7 @@ impl HTMLFormElement { ~"" } - pub fn SetEnctype(&mut self, _enctype: &DOMString) -> ErrorResult { + pub fn SetEnctype(&mut self, _enctype: DOMString) -> ErrorResult { Ok(()) } @@ -64,7 +64,7 @@ impl HTMLFormElement { ~"" } - pub fn SetEncoding(&mut self, _encoding: &DOMString) -> ErrorResult { + pub fn SetEncoding(&mut self, _encoding: DOMString) -> ErrorResult { Ok(()) } @@ -72,7 +72,7 @@ impl HTMLFormElement { ~"" } - pub fn SetMethod(&mut self, _method: &DOMString) -> ErrorResult { + pub fn SetMethod(&mut self, _method: DOMString) -> ErrorResult { Ok(()) } @@ -80,7 +80,7 @@ impl HTMLFormElement { ~"" } - pub fn SetName(&mut self, _name: &DOMString) -> ErrorResult { + pub fn SetName(&mut self, _name: DOMString) -> ErrorResult { Ok(()) } @@ -96,7 +96,7 @@ impl HTMLFormElement { ~"" } - pub fn SetTarget(&mut self, _target: &DOMString) -> ErrorResult { + pub fn SetTarget(&mut self, _target: DOMString) -> ErrorResult { Ok(()) } |