mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
remove extra clones from dom event script
This commit is contained in:
parent
cfef68f92d
commit
c5f562aa07
1 changed files with 2 additions and 2 deletions
|
@ -330,8 +330,8 @@ impl Runnable for EventRunnable {
|
|||
|
||||
fn handler(self: Box<EventRunnable>) {
|
||||
let target = self.target.root();
|
||||
let bubbles = self.bubbles.clone();
|
||||
let cancelable = self.cancelable.clone();
|
||||
let bubbles = self.bubbles;
|
||||
let cancelable = self.cancelable;
|
||||
target.fire_event_with_params(self.name, bubbles, cancelable);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue