mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Remove needless '&mut self' from HTMLFrameSetElementMethods.
This commit is contained in:
parent
2c33888201
commit
dacc43d4eb
1 changed files with 4 additions and 4 deletions
|
@ -39,9 +39,9 @@ impl HTMLFrameSetElement {
|
||||||
|
|
||||||
pub trait HTMLFrameSetElementMethods {
|
pub trait HTMLFrameSetElementMethods {
|
||||||
fn Cols(&self) -> DOMString;
|
fn Cols(&self) -> DOMString;
|
||||||
fn SetCols(&mut self, _cols: DOMString) -> ErrorResult;
|
fn SetCols(&self, _cols: DOMString) -> ErrorResult;
|
||||||
fn Rows(&self) -> DOMString;
|
fn Rows(&self) -> DOMString;
|
||||||
fn SetRows(&mut self, _rows: DOMString) -> ErrorResult;
|
fn SetRows(&self, _rows: DOMString) -> ErrorResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> HTMLFrameSetElementMethods for JSRef<'a, HTMLFrameSetElement> {
|
impl<'a> HTMLFrameSetElementMethods for JSRef<'a, HTMLFrameSetElement> {
|
||||||
|
@ -49,7 +49,7 @@ impl<'a> HTMLFrameSetElementMethods for JSRef<'a, HTMLFrameSetElement> {
|
||||||
"".to_owned()
|
"".to_owned()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn SetCols(&mut self, _cols: DOMString) -> ErrorResult {
|
fn SetCols(&self, _cols: DOMString) -> ErrorResult {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ impl<'a> HTMLFrameSetElementMethods for JSRef<'a, HTMLFrameSetElement> {
|
||||||
"".to_owned()
|
"".to_owned()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn SetRows(&mut self, _rows: DOMString) -> ErrorResult {
|
fn SetRows(&self, _rows: DOMString) -> ErrorResult {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue