mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
Remove needless '&mut self' from UIEventMethods.
This commit is contained in:
parent
5804412a65
commit
aaf8c170aa
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ pub trait UIEventMethods {
|
|||
fn GetRangeParent(&self) -> Option<Temporary<Node>>;
|
||||
fn RangeOffset(&self) -> i32;
|
||||
fn CancelBubble(&self) -> bool;
|
||||
fn SetCancelBubble(&mut self, _val: bool);
|
||||
fn SetCancelBubble(&self, _val: bool);
|
||||
fn IsChar(&self) -> bool;
|
||||
fn InitUIEvent(&mut self,
|
||||
type_: DOMString,
|
||||
|
@ -147,7 +147,7 @@ impl<'a> UIEventMethods for JSRef<'a, UIEvent> {
|
|||
false
|
||||
}
|
||||
|
||||
fn SetCancelBubble(&mut self, _val: bool) {
|
||||
fn SetCancelBubble(&self, _val: bool) {
|
||||
//TODO
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue