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/htmlobjectelement.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/htmlobjectelement.rs')
-rw-r--r-- | src/components/script/dom/htmlobjectelement.rs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/components/script/dom/htmlobjectelement.rs b/src/components/script/dom/htmlobjectelement.rs index ce73cb0c830..a44d05b81ff 100644 --- a/src/components/script/dom/htmlobjectelement.rs +++ b/src/components/script/dom/htmlobjectelement.rs @@ -33,7 +33,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetData(&mut self, _data: &DOMString) -> ErrorResult { + pub fn SetData(&mut self, _data: DOMString) -> ErrorResult { Ok(()) } @@ -41,7 +41,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetType(&mut self, _type: &DOMString) -> ErrorResult { + pub fn SetType(&mut self, _type: DOMString) -> ErrorResult { Ok(()) } @@ -49,7 +49,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetName(&mut self, _name: &DOMString) -> ErrorResult { + pub fn SetName(&mut self, _name: DOMString) -> ErrorResult { Ok(()) } @@ -57,7 +57,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetUseMap(&mut self, _use_map: &DOMString) -> ErrorResult { + pub fn SetUseMap(&mut self, _use_map: DOMString) -> ErrorResult { Ok(()) } @@ -69,7 +69,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetWidth(&mut self, _width: &DOMString) -> ErrorResult { + pub fn SetWidth(&mut self, _width: DOMString) -> ErrorResult { Ok(()) } @@ -77,7 +77,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetHeight(&mut self, _height: &DOMString) -> ErrorResult { + pub fn SetHeight(&mut self, _height: DOMString) -> ErrorResult { Ok(()) } @@ -106,14 +106,14 @@ impl HTMLObjectElement { false } - pub fn SetCustomValidity(&mut self, _error: &DOMString) { + pub fn SetCustomValidity(&mut self, _error: DOMString) { } pub fn Align(&self) -> DOMString { ~"" } - pub fn SetAlign(&mut self, _align: &DOMString) -> ErrorResult { + pub fn SetAlign(&mut self, _align: DOMString) -> ErrorResult { Ok(()) } @@ -121,7 +121,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetArchive(&mut self, _archive: &DOMString) -> ErrorResult { + pub fn SetArchive(&mut self, _archive: DOMString) -> ErrorResult { Ok(()) } @@ -129,7 +129,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetCode(&mut self, _code: &DOMString) -> ErrorResult { + pub fn SetCode(&mut self, _code: DOMString) -> ErrorResult { Ok(()) } @@ -153,7 +153,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetStandby(&mut self, _standby: &DOMString) -> ErrorResult { + pub fn SetStandby(&mut self, _standby: DOMString) -> ErrorResult { Ok(()) } @@ -169,7 +169,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetCodeBase(&mut self, _codebase: &DOMString) -> ErrorResult { + pub fn SetCodeBase(&mut self, _codebase: DOMString) -> ErrorResult { Ok(()) } @@ -177,7 +177,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetCodeType(&mut self, _codetype: &DOMString) -> ErrorResult { + pub fn SetCodeType(&mut self, _codetype: DOMString) -> ErrorResult { Ok(()) } @@ -185,7 +185,7 @@ impl HTMLObjectElement { ~"" } - pub fn SetBorder(&mut self, _border: &DOMString) -> ErrorResult { + pub fn SetBorder(&mut self, _border: DOMString) -> ErrorResult { Ok(()) } |