diff options
author | bors-servo <release+servo@mozilla.com> | 2013-09-18 19:39:47 -0700 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-09-18 19:39:47 -0700 |
commit | 7ffcc29d54659cea63dd2769db469473343246c4 (patch) | |
tree | f5b6f454390c5905ec37529dd9f1bc6a552112bd /src/components/script/dom/htmlsourceelement.rs | |
parent | 849ff1b754009625243d5abe80f87d24aeab2b40 (diff) | |
parent | 73c1a12f3014289002bdc637b7f3c3fc6bf0fb0d (diff) | |
download | servo-7ffcc29d54659cea63dd2769db469473343246c4.tar.gz servo-7ffcc29d54659cea63dd2769db469473343246c4.zip |
auto merge of #955 : kmcallister/servo/bindings, r=metajack
Diffstat (limited to 'src/components/script/dom/htmlsourceelement.rs')
-rw-r--r-- | src/components/script/dom/htmlsourceelement.rs | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/components/script/dom/htmlsourceelement.rs b/src/components/script/dom/htmlsourceelement.rs index 8c57fb78256..b48a42f0589 100644 --- a/src/components/script/dom/htmlsourceelement.rs +++ b/src/components/script/dom/htmlsourceelement.rs @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -use dom::bindings::utils::{DOMString, null_string, ErrorResult}; +use dom::bindings::utils::{DOMString, ErrorResult}; use dom::htmlelement::HTMLElement; pub struct HTMLSourceElement { @@ -11,23 +11,26 @@ pub struct HTMLSourceElement { impl HTMLSourceElement { pub fn Src(&self) -> DOMString { - null_string + None } - pub fn SetSrc(&mut self, _src: &DOMString, _rv: &mut ErrorResult) { + pub fn SetSrc(&mut self, _src: &DOMString) -> ErrorResult { + Ok(()) } pub fn Type(&self) -> DOMString { - null_string + None } - pub fn SetType(&mut self, _type: &DOMString, _rv: &mut ErrorResult) { + pub fn SetType(&mut self, _type: &DOMString) -> ErrorResult { + Ok(()) } pub fn Media(&self) -> DOMString { - null_string + None } - pub fn SetMedia(&mut self, _media: &DOMString, _rv: &mut ErrorResult) { + pub fn SetMedia(&mut self, _media: &DOMString) -> ErrorResult { + Ok(()) } } |