mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Clean up the cast calls
This commit is contained in:
parent
13ea3ac413
commit
68014af78e
66 changed files with 412 additions and 718 deletions
|
@ -86,7 +86,7 @@ impl UIEventMethods for UIEvent {
|
|||
cancelable: bool,
|
||||
view: Option<&Window>,
|
||||
detail: i32) {
|
||||
let event: &Event = self.upcast::<Event>();
|
||||
let event = self.upcast::<Event>();
|
||||
if event.dispatching() {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue