mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Remove from Trusted::new an unnecessary argument
This commit is contained in:
parent
f4783a0ec3
commit
8acb21a594
12 changed files with 22 additions and 23 deletions
|
@ -344,7 +344,7 @@ impl VirtualMethods for HTMLTextAreaElement {
|
|||
let window = window_from_node(self);
|
||||
let window = window.r();
|
||||
let chan = window.user_interaction_task_source();
|
||||
let handler = Trusted::new(window.get_cx(), self, chan.clone());
|
||||
let handler = Trusted::new(self, chan.clone());
|
||||
let dispatcher = ChangeEventRunnable {
|
||||
element: handler,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue