Remove needless '&mut self' from HTMLMapElementMethods.

This commit is contained in:
Tetsuharu OHZEKI 2014-05-31 01:44:05 +09:00
parent e57d18dbc8
commit f30ea51154

View file

@ -40,7 +40,7 @@ impl HTMLMapElement {
pub trait HTMLMapElementMethods {
fn Name(&self) -> DOMString;
fn SetName(&mut self, _name: DOMString) -> ErrorResult;
fn SetName(&self, _name: DOMString) -> ErrorResult;
fn Areas(&self) -> Temporary<HTMLCollection>;
}
@ -49,7 +49,7 @@ impl<'a> HTMLMapElementMethods for JSRef<'a, HTMLMapElement> {
"".to_owned()
}
fn SetName(&mut self, _name: DOMString) -> ErrorResult {
fn SetName(&self, _name: DOMString) -> ErrorResult {
Ok(())
}