aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmltablesectionelement.rs
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2013-09-18 15:23:03 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2013-09-18 18:07:37 -0700
commit73c1a12f3014289002bdc637b7f3c3fc6bf0fb0d (patch)
treed165111723538e4e7550647e6b97262829621368 /src/components/script/dom/htmltablesectionelement.rs
parent4b0680a1362c06b502bd93f056851d01430c3ac0 (diff)
downloadservo-73c1a12f3014289002bdc637b7f3c3fc6bf0fb0d.tar.gz
servo-73c1a12f3014289002bdc637b7f3c3fc6bf0fb0d.zip
bindings: Return errors in Result rather than setting an out parameter
Fixes #909.
Diffstat (limited to 'src/components/script/dom/htmltablesectionelement.rs')
-rw-r--r--src/components/script/dom/htmltablesectionelement.rs15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/components/script/dom/htmltablesectionelement.rs b/src/components/script/dom/htmltablesectionelement.rs
index 2fc93212068..d42f4cb514a 100644
--- a/src/components/script/dom/htmltablesectionelement.rs
+++ b/src/components/script/dom/htmltablesectionelement.rs
@@ -10,34 +10,39 @@ pub struct HTMLTableSectionElement {
}
impl HTMLTableSectionElement {
- pub fn DeleteRow(&mut self, _index: i32, _rv: &mut ErrorResult) {
+ pub fn DeleteRow(&mut self, _index: i32) -> ErrorResult {
+ Ok(())
}
pub fn Align(&self) -> DOMString {
None
}
- pub fn SetAlign(&mut self, _align: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetAlign(&mut self, _align: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn Ch(&self) -> DOMString {
None
}
- pub fn SetCh(&mut self, _ch: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetCh(&mut self, _ch: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn ChOff(&self) -> DOMString {
None
}
- pub fn SetChOff(&mut self, _ch_off: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetChOff(&mut self, _ch_off: &DOMString) -> ErrorResult {
+ Ok(())
}
pub fn VAlign(&self) -> DOMString {
None
}
- pub fn SetVAlign(&mut self, _v_align: &DOMString, _rv: &mut ErrorResult) {
+ pub fn SetVAlign(&mut self, _v_align: &DOMString) -> ErrorResult {
+ Ok(())
}
}