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/htmlscriptelement.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/htmlscriptelement.rs')
-rw-r--r-- | src/components/script/dom/htmlscriptelement.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/script/dom/htmlscriptelement.rs b/src/components/script/dom/htmlscriptelement.rs index 504acc85431..a6dc92306e1 100644 --- a/src/components/script/dom/htmlscriptelement.rs +++ b/src/components/script/dom/htmlscriptelement.rs @@ -35,7 +35,7 @@ impl HTMLScriptElement { } } - pub fn SetSrc(&mut self, _src: &DOMString) -> ErrorResult { + pub fn SetSrc(&mut self, _src: DOMString) -> ErrorResult { Ok(()) } @@ -43,7 +43,7 @@ impl HTMLScriptElement { ~"" } - pub fn SetType(&mut self, _type: &DOMString) -> ErrorResult { + pub fn SetType(&mut self, _type: DOMString) -> ErrorResult { Ok(()) } @@ -51,7 +51,7 @@ impl HTMLScriptElement { ~"" } - pub fn SetCharset(&mut self, _charset: &DOMString) -> ErrorResult { + pub fn SetCharset(&mut self, _charset: DOMString) -> ErrorResult { Ok(()) } @@ -75,7 +75,7 @@ impl HTMLScriptElement { ~"" } - pub fn SetCrossOrigin(&mut self, _cross_origin: &DOMString) -> ErrorResult { + pub fn SetCrossOrigin(&mut self, _cross_origin: DOMString) -> ErrorResult { Ok(()) } @@ -83,7 +83,7 @@ impl HTMLScriptElement { ~"" } - pub fn SetText(&mut self, _text: &DOMString) -> ErrorResult { + pub fn SetText(&mut self, _text: DOMString) -> ErrorResult { Ok(()) } @@ -91,7 +91,7 @@ impl HTMLScriptElement { ~"" } - pub fn SetEvent(&mut self, _event: &DOMString) -> ErrorResult { + pub fn SetEvent(&mut self, _event: DOMString) -> ErrorResult { Ok(()) } @@ -99,7 +99,7 @@ impl HTMLScriptElement { ~"" } - pub fn SetHtmlFor(&mut self, _html_for: &DOMString) -> ErrorResult { + pub fn SetHtmlFor(&mut self, _html_for: DOMString) -> ErrorResult { Ok(()) } } |