bindings: Return errors in Result rather than setting an out parameter

Fixes #909.
This commit is contained in:
Keegan McAllister 2013-09-18 15:23:03 -07:00
parent 4b0680a136
commit 73c1a12f30
73 changed files with 891 additions and 550 deletions

View file

@ -14,13 +14,15 @@ impl HTMLFrameSetElement {
None
}
pub fn SetCols(&mut self, _cols: &DOMString, _rv: &mut ErrorResult) {
pub fn SetCols(&mut self, _cols: &DOMString) -> ErrorResult {
Ok(())
}
pub fn Rows(&self) -> DOMString {
None
}
pub fn SetRows(&mut self, _rows: &DOMString, _rv: &mut ErrorResult) {
pub fn SetRows(&mut self, _rows: &DOMString) -> ErrorResult {
Ok(())
}
}
}