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/htmloptionelement.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/htmloptionelement.rs')
-rw-r--r-- | src/components/script/dom/htmloptionelement.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/script/dom/htmloptionelement.rs b/src/components/script/dom/htmloptionelement.rs index de82444e37e..3d46580a080 100644 --- a/src/components/script/dom/htmloptionelement.rs +++ b/src/components/script/dom/htmloptionelement.rs @@ -43,7 +43,7 @@ impl HTMLOptionElement { ~"" } - pub fn SetLabel(&mut self, _label: &DOMString) -> ErrorResult { + pub fn SetLabel(&mut self, _label: DOMString) -> ErrorResult { Ok(()) } @@ -67,7 +67,7 @@ impl HTMLOptionElement { ~"" } - pub fn SetValue(&mut self, _value: &DOMString) -> ErrorResult { + pub fn SetValue(&mut self, _value: DOMString) -> ErrorResult { Ok(()) } @@ -75,7 +75,7 @@ impl HTMLOptionElement { ~"" } - pub fn SetText(&mut self, _text: &DOMString) -> ErrorResult { + pub fn SetText(&mut self, _text: DOMString) -> ErrorResult { Ok(()) } |